@everymatrix/casino-categories-slider 0.0.411 → 0.0.413
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-categories-slider",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.413",
|
|
4
4
|
"main": "dist/casino-categories-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": "
|
|
39
|
+
"gitHead": "71de9fe1d6241d0c48edc9cd294c49f263edb504"
|
|
40
40
|
}
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
let categoriesLoaded:boolean = false;
|
|
58
58
|
let isLoadingMostPlayed:boolean = false;
|
|
59
59
|
let isLoadingLastPlayed:boolean = false;
|
|
60
|
+
let confirmCategoryParse:boolean = false;
|
|
60
61
|
|
|
61
62
|
$: numberOfFavoredGames = 0;
|
|
62
63
|
|
|
@@ -179,6 +180,7 @@
|
|
|
179
180
|
mostPlayedLoaded = true;
|
|
180
181
|
});
|
|
181
182
|
}
|
|
183
|
+
confirmCategoryParse = true;
|
|
182
184
|
}
|
|
183
185
|
|
|
184
186
|
const addLastPlayedCategory = ():void => {
|
|
@@ -202,8 +204,9 @@
|
|
|
202
204
|
|
|
203
205
|
lastPlayedAdded = true;
|
|
204
206
|
lastPlayedLoaded = true;
|
|
205
|
-
});
|
|
207
|
+
});
|
|
206
208
|
}
|
|
209
|
+
confirmCategoryParse = true;
|
|
207
210
|
}
|
|
208
211
|
|
|
209
212
|
const checkAttrs = ():boolean => {
|
|
@@ -359,7 +362,7 @@
|
|
|
359
362
|
$: session && favorites && !isLoading && addFavoritesCategory();
|
|
360
363
|
$: session && endpoint && !isLoading && lastplayed && addLastPlayedCategory();
|
|
361
364
|
$: session && endpoint && !isLoading && userid && mostplayed && addMostPlayedCategory();
|
|
362
|
-
$: !isLoading && activecategory && (session ?
|
|
365
|
+
$: !isLoading && activecategory && (session ? confirmCategoryParse : true) && setActiveCategory();
|
|
363
366
|
$: clientstyling && setClientStyling();
|
|
364
367
|
$: clientstylingurl && setClientStylingURL();
|
|
365
368
|
</script>
|