@everymatrix/casino-header-controller 0.0.271 → 0.0.274

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.271",
3
+ "version": "0.0.274",
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": "656de48b1f32eaa465896b097c02035605903871"
41
+ "gitHead": "5f4a46f4ce5cd4820b4f3805beaf2130f76cd364"
42
42
  }
@@ -176,7 +176,7 @@
176
176
  }
177
177
 
178
178
  const setActiveIndex = ():void => {
179
- activeIndex = mainMenuArray.map((item) => item.path).indexOf(activecategory);
179
+ activeIndex = mainMenuArray.findIndex(item => item.path.indexOf(activecategory) > -1)
180
180
  }
181
181
 
182
182
  const sendSliderData = (sliderData:any):void => {