@bytebrand/fe-ui-core 4.2.216 → 4.2.218

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.216",
3
+ "version": "4.2.218",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -108,7 +108,7 @@ const PriceContent: React.FunctionComponent<IPriceContentProps> = ({
108
108
  className={styles.infoIcon}
109
109
  customDimensions
110
110
  />
111
- <span>{t('sidebar.adjustRate')}</span>
111
+ <span>{priceTabActiveIndex === 2 ? t('sidebar.serviceProducts') : t('sidebar.adjustRate')}</span>
112
112
  <IconSVG name='menuArrow' className={`${styles.arrowDownIcon} ${offerBlockOpen ? styles.arrowUpIcon : ''}`} customDimensions />
113
113
  </span>
114
114
  </span>
@@ -120,7 +120,7 @@ class VehicleDetailedSlider extends Component<IProps, IState> {
120
120
  });
121
121
  };
122
122
 
123
- handleSlideChange = (currentSlide: any, nextSlide: number) => {
123
+ handleSlideChange = (_currentSlide: any, nextSlide: number) => {
124
124
  const { photos } = this.props;
125
125
  if (photos[nextSlide].videoUrl) {
126
126
  this.setState({ videoSrc: `https://www.youtube.com/embed/${photos[nextSlide].videoUrl}` })