= [];
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
-
-