@mx-cartographer/experiences 6.25.3-alpha.al2 → 6.25.3-alpha.al3

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/index.es.js CHANGED
@@ -24327,7 +24327,7 @@ class U0 {
24327
24327
  return `${n} - ${i}`;
24328
24328
  }
24329
24329
  get sortedDetailedCategories() {
24330
- return this.detailedCategoriesWithTransactions.slice().filter((n) => n.currentAmount !== 0).sort((n, i) => i.currentAmount - n.currentAmount);
24330
+ return this.detailedCategoriesWithTransactions.slice().filter((n) => n.currentAmount !== 0).sort((n, i) => Math.abs(i.currentAmount) - Math.abs(n.currentAmount));
24331
24331
  }
24332
24332
  get visibleCategories() {
24333
24333
  return this.sortedDetailedCategories.slice(0, 5);