@everymatrix/casino-games-category-section 1.37.8 → 1.37.9

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.37.8",
3
+ "version": "1.37.9",
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": "5337eab8bbb68bd1ccbc27fc8bc1220dd219f318"
38
+ "gitHead": "ce63e9919b2417a905be00e35e304ac961790a58"
39
39
  }
@@ -394,7 +394,6 @@
394
394
  lobbyView = true;
395
395
  addfilterselector = 'false';
396
396
  addsortingselector = 'false';
397
- showLoadCategory = true;
398
397
  searchItem = false;
399
398
  validObservers = false;
400
399
  if (e.data.receivedFavoriteResults) {
@@ -403,6 +402,8 @@
403
402
  getData(e.data.categoryId, 0, e.data.visiblegames).then((res:any) => {
404
403
  categoryData = res;
405
404
  shownCategoryData = categoryData.games.items;
405
+ maxTotal <= e.data.visiblegames ? showLoadCategory = false : showLoadCategory = true;
406
+
406
407
  if (shownCategoryData) {
407
408
  shownCategoryData.forEach((item:any) => {
408
409
  item.isFavorite = checkFavorite(item.id);
@@ -107,7 +107,7 @@ export const TRANSLATIONS = {
107
107
  },
108
108
  "hr": {
109
109
  "showMore": "Više",
110
- "viewAll": "Pokaži sve",
110
+ "viewAll": "Prikaži sve",
111
111
  "searchedItems": "Rezultat pretrage",
112
112
  "recentSearchedItems": "Nedavno pretraživano",
113
113
  "noRecentSearch": "Još nije započela pretraga. Jednostavno pretražite igru.",