@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 +4 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
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 () => {
|