@everymatrix/casino-header-controller 1.8.1 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-header-controller",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
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": "e558ed5234cd858fa71696743229caa273752a2e"
41
+ "gitHead": "15df0a4bc1195017b7df65675dfd40261b5dbe8b"
42
42
  }
@@ -225,7 +225,8 @@
225
225
  }
226
226
 
227
227
  const setActiveIndex = ():void => {
228
- activeIndex = mainMenuArray.findIndex(item => item.path.indexOf(activecategory) > -1).toString();
228
+ activeIndex = mainMenuArray.find(item => item.path.indexOf(activecategory.split('/')[1]) > -1).id;
229
+
229
230
  }
230
231
 
231
232
  const sendSliderData = ():void => {