@everymatrix/casino-games-category-section 1.40.0 → 1.41.0

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-games-category-section",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "main": "dist/casino-games-category-section.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "ca3bc98c22d89e64f9d025debb2e59e3e4f22f4c"
38
+ "gitHead": "a1aaa3db1a2ef037a353887d3c171ebe10f9403a"
39
39
  }
@@ -677,15 +677,15 @@
677
677
  // favoriteGamesData vs shownCategoryData
678
678
  switch(categoryid) {
679
679
  case 'FAVORITES':
680
- showFavGamesCategory = true;
680
+ if (userid && session) showFavGamesCategory = true;
681
681
  break;
682
682
  case 'MOSTPLAYED':
683
- if(casinomygames === 'false') {
683
+ if(casinomygames === 'false' && userid && session) {
684
684
  showFavGamesCategory = false;
685
685
  }
686
686
  break;
687
687
  case 'LASTPLAYED':
688
- if(casinomygames === 'false') {
688
+ if(casinomygames === 'false' && userid && session) {
689
689
  showFavGamesCategory = false;
690
690
  }
691
691
  break;
@@ -755,7 +755,7 @@
755
755
  //Call the fav. list fetch when widget is standalone
756
756
  $: favorites === 'true' && endpoint && session && userid && getFavoritesGames(session, userid);
757
757
  $: dataloaded && thumbnailContainer && setupObserver();
758
- $: lang && categoryid && userid && session && initialSetup();
758
+ $: lang && categoryid && initialSetup();
759
759
  $: translationurl && setTranslationUrl();
760
760
  $: clientstyling && customStylingContainer && setClientStyling();
761
761
  $: clientstylingurl && customStylingContainer && setClientStylingURL();