@everymatrix/casino-slider 0.0.400 → 0.0.401

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-slider",
3
- "version": "0.0.400",
3
+ "version": "0.0.401",
4
4
  "main": "dist/casino-slider.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "2b9ea7d441ad474249a446a0bc5da5c02293b70b"
39
+ "gitHead": "b3bbda8a314a8c6a5f05d45b471a2995556e9fad"
40
40
  }
@@ -109,7 +109,17 @@
109
109
  obtainSubcategories();
110
110
  }
111
111
  }
112
- }
112
+
113
+ if (e.data.type == 'GoToHomepage') {
114
+ sliderdata.forEach((item, index) => {
115
+ if(item.path.endsWith('/casino')) {
116
+ activeIndex = index;
117
+ activeIndex = activeIndex;
118
+ prevIndex = activeIndex;
119
+ }
120
+ })
121
+ }}
122
+
113
123
 
114
124
  const setActiveLanguage = ():void => {
115
125
  setLocale(lang);