refactor: enhance routing and state management in CoopBuilder, add migration checks on startup, and update Tailwind configuration for improved component styling
This commit is contained in:
parent
848386e3dd
commit
4cea1f71fe
55 changed files with 4053 additions and 1486 deletions
|
|
@ -10,7 +10,7 @@ export const useCashStore = defineStore("cash", () => {
|
|||
// Week that first breaches minimum cushion
|
||||
const firstBreachWeek = ref(null);
|
||||
|
||||
// Current cash and savings balances - start with zeros
|
||||
// Current cash and savings balances - start empty
|
||||
const currentCash = ref(0);
|
||||
const currentSavings = ref(0);
|
||||
|
||||
|
|
@ -111,4 +111,14 @@ export const useCashStore = defineStore("cash", () => {
|
|||
stagePayment,
|
||||
updateCurrentBalances,
|
||||
};
|
||||
}, {
|
||||
persist: {
|
||||
key: "urgent-tools-cash",
|
||||
paths: [
|
||||
"currentCash",
|
||||
"currentSavings",
|
||||
"cashEvents",
|
||||
"paymentQueue"
|
||||
],
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue