new version of budget view and fixes
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<TransactionForm v-if="visible" :visible="visible"
|
||||
:transaction-type="drawerStore.transactionType ? drawerStore.transactionType : 'INSTANT'"
|
||||
:category-type="drawerStore.categoryType ? drawerStore.categoryType : 'EXPENSE'" @close-drawer="closeDrawer"/>
|
||||
:category-type="drawerStore.categoryType ? drawerStore.categoryType : 'EXPENSE'" :categoryId="drawerStore.categoryId" @close-drawer="closeDrawer"/>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
@@ -35,6 +35,7 @@ import TransactionForm from "@/components/transactions/TransactionForm.vue";
|
||||
|
||||
|
||||
const drawerStore = useDrawerStore();
|
||||
|
||||
const visible = computed(() => drawerStore.visible);
|
||||
const closeDrawer = () => {
|
||||
drawerStore.setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user