@bytebrand/fe-ui-core 4.2.229 → 4.2.230

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.2.229",
3
+ "version": "4.2.230",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -189,7 +189,7 @@ const OrderStatusSection = ({
189
189
  ] : []
190
190
  ],
191
191
  overallRate: {
192
- label: buyingType === 'buy' ? t('MyOrderPage:yourOverallPrice') : t('MyOrderPage:yourOverallRate'),
192
+ label: (buyingType === 'buy' || wonStatus === 'won') ? t('MyOrderPage:yourOverallPrice') : t('MyOrderPage:yourOverallRate'),
193
193
  value: buyingType === 'buy' || wonStatus === 'won' ? totalPrice : monthlyInstallment
194
194
  }
195
195
  };