|
@ -76,10 +76,6 @@ |
|
|
message="Received from" |
|
|
message="Received from" |
|
|
> |
|
|
> |
|
|
</GiftedDialog> |
|
|
</GiftedDialog> |
|
|
<AlertMessage |
|
|
|
|
|
:alertTitle="alertTitle" |
|
|
|
|
|
:alertMessage="alertMessage" |
|
|
|
|
|
></AlertMessage> |
|
|
|
|
|
</section> |
|
|
</section> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -93,12 +89,11 @@ import { accessToken } from "@/libs/crypto"; |
|
|
import { createAndSubmitGive } from "@/libs/endorserServer"; |
|
|
import { createAndSubmitGive } from "@/libs/endorserServer"; |
|
|
import { Account } from "@/db/tables/accounts"; |
|
|
import { Account } from "@/db/tables/accounts"; |
|
|
import { Contact } from "@/db/tables/contacts"; |
|
|
import { Contact } from "@/db/tables/contacts"; |
|
|
import AlertMessage from "@/components/AlertMessage"; |
|
|
|
|
|
import QuickNav from "@/components/QuickNav"; |
|
|
import QuickNav from "@/components/QuickNav"; |
|
|
import EntityIcon from "@/components/EntityIcon"; |
|
|
import EntityIcon from "@/components/EntityIcon"; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
components: { GiftedDialog, AlertMessage, QuickNav, EntityIcon }, |
|
|
components: { GiftedDialog, QuickNav, EntityIcon }, |
|
|
}) |
|
|
}) |
|
|
export default class HomeView extends Vue { |
|
|
export default class HomeView extends Vue { |
|
|
activeDid = ""; |
|
|
activeDid = ""; |
|
@ -106,8 +101,6 @@ export default class HomeView extends Vue { |
|
|
allContacts: Array<Contact> = []; |
|
|
allContacts: Array<Contact> = []; |
|
|
apiServer = ""; |
|
|
apiServer = ""; |
|
|
isHiddenSpinner = true; |
|
|
isHiddenSpinner = true; |
|
|
alertTitle = ""; |
|
|
|
|
|
alertMessage = ""; |
|
|
|
|
|
accounts: AccountsSchema; |
|
|
accounts: AccountsSchema; |
|
|
numAccounts = 0; |
|
|
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 |
|
|
// Helper functions for readability |
|
|
|
|
|
|
|
|
isGiveCreationError(result) { |
|
|
isGiveCreationError(result) { |
|
|