@tekkare/auriga 0.2.223 → 0.2.224

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.0.0"
6
6
  },
7
- "version": "0.2.223"
7
+ "version": "0.2.224"
8
8
  }
@@ -21,11 +21,7 @@
21
21
  {{
22
22
  actualAmount !== null
23
23
  ? actualAmount
24
- : tabs.reduce((prevTab, currentTab) => {
25
- return prevTab.data.length > currentTab.data.length
26
- ? prevTab.data.length
27
- : currentTab.data.length;
28
- })
24
+ : Math.max(...tabs.map((tab) => tab.data.length))
29
25
  }}
30
26
  elements. For optimization reasons, only
31
27
  <b> the first {{ limit }} elements </b> will be downloaded.
@@ -35,11 +31,7 @@
35
31
  {{
36
32
  actualAmount !== null
37
33
  ? actualAmount
38
- : tabs.reduce((prevTab, currentTab) => {
39
- return prevTab.data.length > currentTab.data.length
40
- ? prevTab
41
- : currentTab;
42
- })
34
+ : Math.max(...tabs.map((tab) => tab.data.length))
43
35
  }}
44
36
  éléments. Pour des raisons d'optimisation, seuls les
45
37
  <b> {{ limit }} premiers éléments</b> seront téléchargés.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.2.223",
3
+ "version": "0.2.224",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",