@mx-cartographer/experiences 6.24.12-alpha.al4 → 6.24.12-alpha.al5

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
@@ -23166,7 +23166,9 @@ class e0 {
23166
23166
  sortCategoriesList = () => !this.detailedCategories || this.detailedCategories.length === 0 ? [] : this.detailedCategories.map((n) => ({
23167
23167
  guid: n.guid,
23168
23168
  name: n.name,
23169
- amount: n.monthlyAmounts.reduce((i, a) => i + (a.amount || 0), 0)
23169
+ amount: Math.abs(
23170
+ n.monthlyAmounts.reduce((i, a) => i + (a.amount || 0), 0)
23171
+ )
23170
23172
  })).filter((n) => n.amount !== 0).sort((n, i) => i.amount - n.amount);
23171
23173
  get detailedCategories() {
23172
23174
  return this.globalStore.categoryStore.detailedCategories;