@everymatrix/casino-header-controller 0.0.279 → 0.0.282

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": "0.0.279",
3
+ "version": "0.0.282",
4
4
  "main": "dist/casino-header-controller.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "44addff74a1ea7ee629e4c9e09af36bb03cfeb82"
41
+ "gitHead": "a00139a8e44a6b9c994c7659a3ebe86b78356396"
42
42
  }
@@ -66,14 +66,6 @@
66
66
  let hamburgerMenuActive:boolean = false;
67
67
  let logoPath:string = '';
68
68
 
69
- let fallbackSecondaryMenu = [
70
- {
71
- "id": 0,
72
- "label": $_('fallbackSecondaryMenu.promotions'),
73
- "path": "/promotions",
74
- }
75
- ];
76
-
77
69
  const menuAction = (data: any) => {
78
70
  switch (data) {
79
71
  case 'login':
@@ -192,9 +184,6 @@
192
184
  .then((data: any) => {
193
185
  mainMenuArray = data.desktop.primary;
194
186
  secondaryMenuArray = data.desktop.secondary;
195
- if( !secondaryMenuArray.length ) {
196
- secondaryMenuArray = fallbackSecondaryMenu;
197
- }
198
187
  isLoading = false;
199
188
 
200
189
  resolve(data);