@bytebrand/fe-ui-core 4.0.255 → 4.0.257

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.0.255",
3
+ "version": "4.0.257",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -120,7 +120,7 @@ class RateSearchWidget extends React.Component<IRateSearchWidgetProps, IRateSear
120
120
 
121
121
  const dropDownProps = {
122
122
  size: 'custom',
123
- value: this.state[name],
123
+ value: numberWithDot(this.state[name]),
124
124
  label: t(`${i18nPrefix}${name}Placeholder`),
125
125
  items: options.map((value: any) => this.getValue(value, units)),
126
126
  onChange: (value: any) => this.onDropDownChange(name, value),
@@ -147,8 +147,7 @@ class MakeModel extends React.Component<IMakeModelProps> {
147
147
  items: this.getOptionsFuel(options),
148
148
  onChange: (values: any) => this.onDropDownChange(values),
149
149
  label: t('filters.bodyTypePlaceholder'),
150
- multiple: true,
151
- isClearable: true
150
+ multiple: true
152
151
  };
153
152
 
154
153
  return (
@@ -46,7 +46,7 @@ const VehicleDetailedSidebar: FunctionComponent<IVehicleDetailedSidebarProps> =
46
46
  activeTab,
47
47
  offerBlockOpen,
48
48
  onAdjustRateClick,
49
- isStrikeShown: price.common.isStrikeShown,
49
+ isStrikeShown: price.common ? price.common.isStrikeShown : price.financing.isStrikeShown,
50
50
  ...price
51
51
  };
52
52