From fed23a61ee424c23df8bd4e8bbb02c39af71c39f Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Mon, 10 Jul 2023 18:20:13 +0800 Subject: [PATCH] Remove HelloWorld and do sweeping --- src/components/HelloWorld.vue | 146 ---------------------------- src/views/AccountViewView.vue | 6 +- src/views/ContactQRScanShowView.vue | 6 +- src/views/NewEditProjectView.vue | 6 +- 4 files changed, 6 insertions(+), 158 deletions(-) delete mode 100644 src/components/HelloWorld.vue diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index ec7d2898..00000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index 524e5c3c..2d63d4b8 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -343,6 +343,8 @@ export default class AccountViewView extends Vue { showPubCopy = false; showAdvanced = false; + alertMessage = ""; + alertTitle = ""; public async getIdentity(activeDid) { await accountsDB.open(); @@ -560,9 +562,5 @@ export default class AccountViewView extends Vue { setApiServerInput(value) { this.apiServerInput = value; } - - // This same popup code is in many files. - alertMessage = ""; - alertTitle = ""; } diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue index db8715da..acef71f1 100644 --- a/src/views/ContactQRScanShowView.vue +++ b/src/views/ContactQRScanShowView.vue @@ -37,6 +37,8 @@ import QuickNav from "@/components/QuickNav"; // eslint-disable-next-line @typescript-eslint/no-var-requires const Buffer = require("buffer/").Buffer; +alertTitle = ""; +alertMessage = ""; @Component({ components: { @@ -110,9 +112,5 @@ export default class ContactQRScanShow extends Vue { this.qrValue = viewPrefix + vcJwt; } } - - // This same popup code is in many files. - alertTitle = ""; - alertMessage = ""; } diff --git a/src/views/NewEditProjectView.vue b/src/views/NewEditProjectView.vue index 94de7fc2..193899b3 100644 --- a/src/views/NewEditProjectView.vue +++ b/src/views/NewEditProjectView.vue @@ -102,6 +102,8 @@ export default class NewEditProjectView extends Vue { errorMessage = ""; accounts: AccountsSchema; numAccounts = 0; + alertTitle = ""; + alertMessage = ""; async beforeCreate() { accountsDB.open(); @@ -290,9 +292,5 @@ export default class NewEditProjectView extends Vue { public onCancelClick() { this.$router.back(); } - - // This same popup code is in many files. - alertTitle = ""; - alertMessage = ""; }