diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue index f0b2b8a..ef815ad 100644 --- a/src/views/AccountViewView.vue +++ b/src/views/AccountViewView.vue @@ -286,10 +286,6 @@ - @@ -303,14 +299,13 @@ import { db, accountsDB } from "@/db"; import { MASTER_SETTINGS_KEY } from "@/db/tables/settings"; import { accessToken } from "@/libs/crypto"; import { AxiosError } from "axios/index"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; import { IIdentifier } from "@veramo/core"; // eslint-disable-next-line @typescript-eslint/no-var-requires const Buffer = require("buffer/").Buffer; -@Component({ components: { AlertMessage, QuickNav } }) +@Component({ components: { QuickNav } }) export default class AccountViewView extends Vue { Constants = AppString; @@ -334,8 +329,6 @@ export default class AccountViewView extends Vue { showPubCopy = false; showAdvanced = false; - alertMessage = ""; - alertTitle = ""; public async getIdentity(activeDid) { await accountsDB.open(); diff --git a/src/views/ContactAmountsView.vue b/src/views/ContactAmountsView.vue index c3a5606..d2cd204 100644 --- a/src/views/ContactAmountsView.vue +++ b/src/views/ContactAmountsView.vue @@ -90,10 +90,6 @@ - @@ -113,17 +109,14 @@ import { } from "@/libs/endorserServer"; import * as didJwt from "did-jwt"; import { AxiosError } from "axios"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; -@Component({ components: { AlertMessage, QuickNav } }) +@Component({ components: { QuickNav } }) export default class ContactsView extends Vue { activeDid = ""; apiServer = ""; contact: Contact | null = null; giveRecords: Array = []; - alertTitle = ""; - alertMessage = ""; numAccounts = 0; async beforeCreate() { diff --git a/src/views/ContactGiftingView.vue b/src/views/ContactGiftingView.vue index 0f2a5e3..f2f63db 100644 --- a/src/views/ContactGiftingView.vue +++ b/src/views/ContactGiftingView.vue @@ -76,10 +76,6 @@ message="Received from" > - @@ -93,12 +89,11 @@ import { accessToken } from "@/libs/crypto"; import { createAndSubmitGive } from "@/libs/endorserServer"; import { Account } from "@/db/tables/accounts"; import { Contact } from "@/db/tables/contacts"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; import EntityIcon from "@/components/EntityIcon"; @Component({ - components: { GiftedDialog, AlertMessage, QuickNav, EntityIcon }, + components: { GiftedDialog, QuickNav, EntityIcon }, }) export default class HomeView extends Vue { activeDid = ""; @@ -106,8 +101,6 @@ export default class HomeView extends Vue { allContacts: Array = []; apiServer = ""; isHiddenSpinner = true; - alertTitle = ""; - alertMessage = ""; accounts: AccountsSchema; numAccounts = 0; @@ -289,11 +282,6 @@ export default class HomeView extends Vue { } } - private setAlert(title, message) { - this.alertTitle = title; - this.alertMessage = message; - } - // Helper functions for readability isGiveCreationError(result) { diff --git a/src/views/ContactsView.vue b/src/views/ContactsView.vue index 740ad88..71847b9 100644 --- a/src/views/ContactsView.vue +++ b/src/views/ContactsView.vue @@ -202,10 +202,6 @@

This identity has no contacts.

- @@ -224,7 +220,6 @@ import { SERVICE_ID, } from "@/libs/endorserServer"; import { Component, Vue } from "vue-facing-decorator"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; import EntityIcon from "@/components/EntityIcon"; @@ -232,7 +227,7 @@ import EntityIcon from "@/components/EntityIcon"; const Buffer = require("buffer/").Buffer; @Component({ - components: { AlertMessage, QuickNav, EntityIcon }, + components: { QuickNav, EntityIcon }, }) export default class ContactsView extends Vue { activeDid = ""; @@ -256,8 +251,6 @@ export default class ContactsView extends Vue { showGiveNumbers = false; showGiveTotals = true; showGiveConfirmed = true; - alertTitle = ""; - alertMessage = ""; async created() { await db.open(); diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index dba8066..5e48f55 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -103,10 +103,6 @@ - @@ -118,13 +114,12 @@ import { Contact } from "@/db/tables/contacts"; import { MASTER_SETTINGS_KEY } from "@/db/tables/settings"; import { accessToken } from "@/libs/crypto"; import { didInfo } from "@/libs/endorserServer"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; import InfiniteScroll from "@/components/InfiniteScroll"; import EntityIcon from "@/components/EntityIcon"; @Component({ - components: { AlertMessage, QuickNav, InfiniteScroll, EntityIcon }, + components: { QuickNav, InfiniteScroll, EntityIcon }, }) export default class DiscoverView extends Vue { activeDid = ""; @@ -132,8 +127,6 @@ export default class DiscoverView extends Vue { allMyDids: Array = []; apiServer = ""; searchTerms = ""; - alertMessage = ""; - alertTitle = ""; projects: ProjectData[] = []; isLocalActive = true; isRemoteActive = false; diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 6031e0b..144594b 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -196,10 +196,6 @@ - @@ -211,12 +207,11 @@ import { MASTER_SETTINGS_KEY } from "@/db/tables/settings"; import { accessToken } from "@/libs/crypto"; import { createAndSubmitGive, didInfo } from "@/libs/endorserServer"; import { Contact } from "@/db/tables/contacts"; -import AlertMessage from "@/components/AlertMessage"; import QuickNav from "@/components/QuickNav"; import EntityIcon from "@/components/EntityIcon"; @Component({ - components: { GiftedDialog, AlertMessage, QuickNav, EntityIcon }, + components: { GiftedDialog, QuickNav, EntityIcon }, }) export default class HomeView extends Vue { activeDid = ""; @@ -228,8 +223,6 @@ export default class HomeView extends Vue { feedPreviousOldestId = null; feedLastViewedId = null; isHiddenSpinner = true; - alertTitle = ""; - alertMessage = ""; numAccounts = 0; async beforeCreate() { @@ -509,11 +502,6 @@ export default class HomeView extends Vue { } } - private setAlert(title, message) { - this.alertTitle = title; - this.alertMessage = message; - } - // Helper functions for readability isGiveCreationError(result) { diff --git a/src/views/IdentitySwitcherView.vue b/src/views/IdentitySwitcherView.vue index 41fdfef..ccf626f 100644 --- a/src/views/IdentitySwitcherView.vue +++ b/src/views/IdentitySwitcherView.vue @@ -62,11 +62,6 @@ > No Identity - -