@mx-cartographer/experiences 6.26.22-alpha.sms1 → 6.26.22-alpha.sms2

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
@@ -5513,7 +5513,7 @@ const Dc = (e, n) => {
5513
5513
  return !1;
5514
5514
  if (/^spl/i.test(s) && (l.has_been_split || l.parent_guid))
5515
5515
  return !0;
5516
- const _ = l.tags.some(
5516
+ const _ = l.tags?.some(
5517
5517
  (p) => Kt(s, n.find((m) => m.guid === p)?.name)
5518
5518
  ), h = Ue(l.date);
5519
5519
  return Kt(s, l.payee) || Kt(s, l.feed_description) || Kt(s, l.category) || Kt(s, ue(h, re.MONTH)) || Kt(s, ue(h, re.DAY)) || Kt(s, ue(h, re.FULL_MONTH_DAY)) || Kt(s, ue(h, re.MONTH_DAY_YEAR)) || Kt(s, pn(h, B_)) || Kt(s, l.account) || Kt(s, `${l.amount}`) || Kt(s, l.memo) || _;
@@ -5912,7 +5912,9 @@ const zh = ({ transaction: e, onClick: n }) => {
5912
5912
  width: c = "100%",
5913
5913
  zeroState: l = /* @__PURE__ */ t(jh, {})
5914
5914
  }) => {
5915
- const { isLoading: u, sortedTransactions: _ } = Le(), h = g.useMemo(() => s ? _ : _.filter((w) => !w.is_hidden), [_, s]), { clearExpandedSplits: p, setShowInsights: m, toggleSplit: f } = wt(), { onEvent: S } = q(), y = (w) => {
5915
+ const { isLoading: u, sortedTransactions: _ } = Le();
5916
+ console.log("sortedTransactions", _);
5917
+ const h = g.useMemo(() => s ? _ : _.filter((w) => !w.is_hidden), [_, s]), { clearExpandedSplits: p, setShowInsights: m, toggleSplit: f } = wt(), { onEvent: S } = q(), y = (w) => {
5916
5918
  const v = h.find((N) => N.guid === w);
5917
5919
  if (v?.has_been_split) {
5918
5920
  f(v.guid);