From 2ec1291832b3c6a8565adf3f02e3ad7d003a36b7 Mon Sep 17 00:00:00 2001 From: Annika Date: Wed, 13 Jul 2022 10:48:27 -0600 Subject: [PATCH] some styling and UX stuff --- budgit.client/src/components/Transaction.vue | 21 ++++++++++++++------ budgit.client/src/pages/TransactionsPage.vue | 1 - 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/budgit.client/src/components/Transaction.vue b/budgit.client/src/components/Transaction.vue index c2ad728..327692f 100644 --- a/budgit.client/src/components/Transaction.vue +++ b/budgit.client/src/components/Transaction.vue @@ -1,5 +1,5 @@ @@ -72,6 +77,10 @@ export default { } catch (error) { console.log(error) } + }, + async remove() { + // TODO need to write CRUD method for this + // probably good to write an Are-you-sure Modal too... } } } diff --git a/budgit.client/src/pages/TransactionsPage.vue b/budgit.client/src/pages/TransactionsPage.vue index 35833e3..3c96416 100644 --- a/budgit.client/src/pages/TransactionsPage.vue +++ b/budgit.client/src/pages/TransactionsPage.vue @@ -1,7 +1,6 @@