@everymatrix/casino-header-controller 1.29.5 → 1.29.7

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": "@everymatrix/casino-header-controller",
3
- "version": "1.29.5",
3
+ "version": "1.29.7",
4
4
  "main": "dist/casino-header-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "f2e3f1edbe2a15979fd224f987ea52d179bb95f0"
40
+ "gitHead": "6774dd803fe9ab951334d05d7f0ec99f78b6c0a0"
41
41
  }
@@ -145,10 +145,10 @@
145
145
  break;
146
146
 
147
147
  case 'deposit':
148
- if (shortcashierenabled === 'true') {
148
+ if (isShortCashierEnabled) {
149
149
  shortCashierActivated = true;
150
150
  window.postMessage({ type: 'DisableScroll' }, window.location.href);
151
- } else if (shortcashierenabled === 'false'){
151
+ } else {
152
152
  window.postMessage({type: 'GoToDeposit'}, window.location.href);
153
153
  }
154
154
 
@@ -404,6 +404,7 @@
404
404
 
405
405
  $: activecategory && !isLoading && initializeMenu();
406
406
  $: session && setSession();
407
+ $: isShortCashierEnabled = shortcashierenabled.toLocaleLowerCase() === 'true';
407
408
  $: lang && setActiveLanguage();
408
409
  $: cmsendpoint && lang && languageslist && userroles && initialLoad();
409
410
  $: translationurl && setTranslationUrl();