@mx-cartographer/experiences 6.4.0 → 6.4.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [6.4.1] - 06-13-2025
2
+
3
+ - **UPDATED** - Validate accounts when adding a goal.
4
+
1
5
  ## [6.4.0] - 06-12-2025
2
6
 
3
7
  - **UPDATED** - All Card & Paper components to use the default MXUI border radius
package/dist/index.es.js CHANGED
@@ -12884,7 +12884,7 @@ const Tp = (e, n) => {
12884
12884
  setAlert: d,
12885
12885
  setSelectedGoal: _,
12886
12886
  updateGoal: u
12887
- } = ct(), { user: h } = an(), [m, C] = g.useState(!1), f = !c?.guid, y = c?.track_type === V.SAVINGS_TRACK && c.is_complete && !c.has_been_spent, E = g.useMemo(() => c ? c.track_type === V.SAVINGS_TRACK ? !!c.name && !!c.amount : c.track_type === V.DEBT_TRACK ? !0 : c.track_type === V.RETIREMENT_TRACK ? !!c.name && !!c.amount && !!c.retirement_age && !!h.birthday : !0 : !1, [c]);
12887
+ } = ct(), { user: h } = an(), [m, C] = g.useState(!1), f = !c?.guid, y = c?.track_type === V.SAVINGS_TRACK && c.is_complete && !c.has_been_spent, E = g.useMemo(() => !c || !c.account_guid ? !1 : c.track_type === V.SAVINGS_TRACK ? !!c.name && !!c.amount : c.track_type === V.DEBT_TRACK ? !0 : c.track_type === V.RETIREMENT_TRACK ? !!c.name && !!c.amount && !!c.retirement_age && !!h.birthday : !0, [c]);
12888
12888
  let T = i.delete_button, x = () => C(!0);
12889
12889
  f ? (x = () => w(), T = i.save_button) : y && (x = () => R(), T = n.mark_as_complete_button);
12890
12890
  const w = async () => {