|
|
@ -76,10 +76,6 @@ |
|
|
|
message="Received from" |
|
|
|
> |
|
|
|
</GiftedDialog> |
|
|
|
<AlertMessage |
|
|
|
:alertTitle="alertTitle" |
|
|
|
:alertMessage="alertMessage" |
|
|
|
></AlertMessage> |
|
|
|
</section> |
|
|
|
</template> |
|
|
|
|
|
|
@ -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<Contact> = []; |
|
|
|
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) { |
|
|
|