@bytebrand/fe-ui-core 4.2.238 → 4.2.240

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.238",
3
+ "version": "4.2.240",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -231,7 +231,7 @@ class VehicleDetailedSlider extends Component<IProps, IState> {
231
231
  className={styles.frame}
232
232
  ></iframe>
233
233
  )}
234
- {showImage && item.videoUrl && !this.state.showYoutube && (
234
+ {showImage && item.videoUrl && !this.state.showYoutube && this.state.videoSrc && (
235
235
  <div className={styles.noYoutubeWrapper}>
236
236
  <SvgYoutubeButton></SvgYoutubeButton>
237
237
  <span className={styles.youtubeCookiesText}>{t('youtube.acceptCookiesText')}</span>
@@ -20,7 +20,7 @@ const PreviewCookieModal = ({ toggleModal, setModal, handleSentryInit } : IPrevi
20
20
 
21
21
  const onDisableAll = () => {
22
22
  localStorage.setItem('cookieConfig', JSON.stringify({
23
- 'marketing':['cf','cip','cnac','car','test_cookie','IDE', 'bid'],
23
+ 'marketing':['cf','cip','cnac','car','test_cookie','IDE', 'bid','youtube'],
24
24
  'analytics':['sentry','callback','locale','uid','PugT','demdex','cto_bundle','tuuid','tuuid_lu','c','CMID','CMPS','CMPRO','uuid2','um','umeh','KRTBCOOKIE_97','IDSYNC','dpm','_kuid_','visitor-id','data-c-ts','data-c','CMTS','mv_tokens','A3','mv_tokens_eu-v1','am_tokens','am_tokens_eu-v1','iteo','_fbp','_clck','_clsk','_uetsid','_uetvid','analytics_storage','ad_storage','functionality_storage','personalization_storage','security_storage','hotjar']
25
25
  }));
26
26
  updateCookieList(handleSentryInit);
@@ -551,7 +551,7 @@ export function setUtmParameters() {
551
551
  }
552
552
 
553
553
  export const updateCookieList = (handleSentryInit: () => void) => {
554
- const cookieConfig = JSON.parse(localStorage.getItem('marketing')) || {};
554
+ const cookieConfig = JSON.parse(localStorage.getItem('cookieConfig')) || {};
555
555
  let isSentryGranted = true; // Sentry
556
556
  let disabledCookies: any[] = [];
557
557
  const parsedUrl = new URL(window.location.href);