From f32bdd6c76c1dfac7f4bd9d7c0324e35528e59e6 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 10 Dec 2021 16:42:02 +0100 Subject: [PATCH] Fix various issues and remove debug comments. --- frontend/src/components/accounts/Create.vue | 4 +- frontend/src/components/accounts/Index.vue | 4 - frontend/src/components/accounts/Show.vue | 18 +- frontend/src/components/bills/Create.vue | 204 +++++++++++------- frontend/src/components/bills/Index.vue | 8 +- .../components/dashboard/MainBudgetList.vue | 6 +- .../components/form/GenericAttachments.vue | 16 +- .../store/modules/transactions/create.js | 8 +- .../src/components/transactions/Create.vue | 6 +- .../src/components/transactions/Index.vue | 2 +- .../src/components/transactions/SplitForm.vue | 4 +- .../components/transactions/SplitPills.vue | 29 +-- .../transactions/TransactionAccount.vue | 13 +- .../transactions/TransactionAmount.vue | 9 +- .../transactions/TransactionBill.vue | 5 + .../transactions/TransactionBudget.vue | 5 + .../transactions/TransactionCategory.vue | 7 +- .../transactions/TransactionDate.vue | 9 +- .../transactions/TransactionForeignAmount.vue | 6 + .../TransactionForeignCurrency.vue | 7 +- .../transactions/TransactionListLarge.vue | 14 +- .../transactions/TransactionTags.vue | 1 + 22 files changed, 240 insertions(+), 145 deletions(-) diff --git a/frontend/src/components/accounts/Create.vue b/frontend/src/components/accounts/Create.vue index eba5864e1a..78c5c6ec95 100644 --- a/frontend/src/components/accounts/Create.vue +++ b/frontend/src/components/accounts/Create.vue @@ -275,8 +275,8 @@ export default { this.hasAttachments = false; }, uploadedAttachments: function (e) { - console.log('Response to event uploaded-attachments'); - console.log(e); + // console.log('Response to event uploaded-attachments'); + // console.log(e); this.finishSubmission(); }, submitForm: function (e) { diff --git a/frontend/src/components/accounts/Index.vue b/frontend/src/components/accounts/Index.vue index d3c9c15ad7..440a93d9c2 100644 --- a/frontend/src/components/accounts/Index.vue +++ b/frontend/src/components/accounts/Index.vue @@ -177,13 +177,9 @@ import {mapGetters, mapMutations} from "vuex"; import Sortable from "sortablejs"; import format from "date-fns/format"; -// import {setup} from 'axios-cache-adapter'; -// import {cacheAdapterEnhancer} from 'axios-extensions'; import {configureAxios} from "../../shared/forageStore"; -// get all and cache, dont keep the table busy. - export default { name: "Index", props: { diff --git a/frontend/src/components/accounts/Show.vue b/frontend/src/components/accounts/Show.vue index 98dbbf0d39..bb40688054 100644 --- a/frontend/src/components/accounts/Show.vue +++ b/frontend/src/components/accounts/Show.vue @@ -80,8 +80,8 @@