From 7859106f0dcba1a1ccb3536b59f979ab01cd723a Mon Sep 17 00:00:00 2001 From: NextFire Date: Sat, 13 Jan 2024 15:53:29 -0500 Subject: [PATCH] expense desc --- components/CountForm.vue | 7 ++--- components/ExpenseModalDialog.vue | 29 ++++++++++--------- components/expenses/Card.vue | 8 ++--- components/expenses/View.vue | 14 ++++----- components/new-expense/Infos.vue | 9 +++++- components/new-expense/Modal.vue | 18 ++++++------ composables/useCountFormStore.ts | 20 ++++++------- ...ExpenseStore.ts => useExpenseFormStore.ts} | 6 +++- 8 files changed, 61 insertions(+), 50 deletions(-) rename composables/{useExpenseStore.ts => useExpenseFormStore.ts} (83%) diff --git a/components/CountForm.vue b/components/CountForm.vue index 4790a99..d0c1526 100644 --- a/components/CountForm.vue +++ b/components/CountForm.vue @@ -1,6 +1,6 @@ @@ -14,10 +14,9 @@ const members = defineModel("members", { default: "" }); v-model.trim="title" /> - diff --git a/components/ExpenseModalDialog.vue b/components/ExpenseModalDialog.vue index b168d3f..068fb08 100644 --- a/components/ExpenseModalDialog.vue +++ b/components/ExpenseModalDialog.vue @@ -8,7 +8,7 @@ const props = defineProps<{ submit: () => void; }>(); -const expenseStore = useExpenseStore(); +const expenseFormStore = useExpenseFormStore(); const modalRef = ref(null); watchEffect(() => props.setModal(modalRef.value)); @@ -25,8 +25,8 @@ watchEffect(() => props.setModal(modalRef.value)); Infos @@ -34,8 +34,8 @@ watchEffect(() => props.setModal(modalRef.value)); Participants @@ -43,19 +43,20 @@ watchEffect(() => props.setModal(modalRef.value));