From 59d621efc1e31c14c4355805bf5de4513f0c1e97 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sat, 18 Mar 2023 20:37:50 -0600 Subject: [PATCH] add toggle for displaying give amounts for each contact --- project.yaml | 1 + src/db/tables/index.ts | 1 + src/views/AccountViewView.vue | 44 +++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/project.yaml b/project.yaml index bf0267c..c14c0f8 100644 --- a/project.yaml +++ b/project.yaml @@ -12,6 +12,7 @@ - replace user-affecting console.logs with error messages (eg. catches) - contacts + - make advanced "show/hide amounts" button into a nice UI toggle - commit screen diff --git a/src/db/tables/index.ts b/src/db/tables/index.ts index 1c48594..eb9a245 100644 --- a/src/db/tables/index.ts +++ b/src/db/tables/index.ts @@ -19,6 +19,7 @@ export type Settings = { id: number; firstName?: string; lastName?: string; + showContactGivesInline?: boolean; }; export const SettingsSchema = { diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index e97cabe..00f5763 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -169,6 +169,21 @@ +

Advanced

+ +
+ +
+