@mx-cartographer/experiences 6.14.2-alpha.mega5 → 6.14.2-alpha.mega7
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 +6 -13
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5524,14 +5524,11 @@ class Nu {
|
|
|
5524
5524
|
);
|
|
5525
5525
|
};
|
|
5526
5526
|
updateTaggings = async (n, i) => {
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
const o = this.taggings[a];
|
|
5533
|
-
n.includes(o.tag_guid) || await this.removeTagging(o.guid);
|
|
5534
|
-
}
|
|
5527
|
+
const a = this.taggings.filter((s) => s.transaction_guid === i), o = new Set(a.map((s) => s.tag_guid)), r = new Set(n);
|
|
5528
|
+
for (const s of n)
|
|
5529
|
+
o.has(s) || await this.addTagging(s, i);
|
|
5530
|
+
for (const s of a)
|
|
5531
|
+
r.has(s.tag_guid) || await this.removeTagging(s.guid);
|
|
5535
5532
|
await this.loadTaggings();
|
|
5536
5533
|
};
|
|
5537
5534
|
updateTag = async (n) => {
|
|
@@ -7981,11 +7978,7 @@ const Ks = ({ transaction: e }) => {
|
|
|
7981
7978
|
dateRange: { start: Tt(ue(), 90), end: Je(ue()) },
|
|
7982
7979
|
custom: (v) => v.repeating_transaction_guid === n.guid
|
|
7983
7980
|
});
|
|
7984
|
-
}, [n])
|
|
7985
|
-
C,
|
|
7986
|
-
JSON.parse(JSON.stringify(c.find((v) => v.guid === C))),
|
|
7987
|
-
JSON.parse(JSON.stringify(n))
|
|
7988
|
-
);
|
|
7981
|
+
}, [n]);
|
|
7989
7982
|
const E = h.useMemo(
|
|
7990
7983
|
() => c.find((v) => v.guid === C),
|
|
7991
7984
|
[C, c]
|