more fixes for when there is no identity
This commit is contained in:
@@ -367,6 +367,10 @@ export default class ContactsView extends Vue {
|
||||
}
|
||||
|
||||
async loadGives() {
|
||||
if (!this.activeDid) {
|
||||
return;
|
||||
}
|
||||
|
||||
const handleResponse = (
|
||||
resp: { status: number; data: { data: GiveServerRecord[] } },
|
||||
descriptions: Record<string, string>,
|
||||
@@ -405,7 +409,7 @@ export default class ContactsView extends Vue {
|
||||
text:
|
||||
"Got an error retrieving your " +
|
||||
(useRecipient ? "given" : "received") +
|
||||
" time from the server.",
|
||||
" data from the server.",
|
||||
},
|
||||
-1,
|
||||
);
|
||||
@@ -462,7 +466,7 @@ export default class ContactsView extends Vue {
|
||||
group: "alert",
|
||||
type: "danger",
|
||||
title: "Load Error",
|
||||
text: "Got an error loading your givcs.",
|
||||
text: "Got an error loading your gives.",
|
||||
},
|
||||
-1,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user