More cleanup and application of new db loading

This commit is contained in:
Matthew Raymer
2023-07-08 18:31:12 +08:00
parent 3471afdf25
commit 3bd55f3ad2
6 changed files with 83 additions and 44 deletions

View File

@@ -578,7 +578,7 @@ export default class ContactsView extends Vue {
}
async onClickAddGive(fromDid: string, toDid: string): Promise<void> {
const identity = this.getIdentity(this.activeDid);
const identity = await this.getIdentity(this.activeDid);
// if they have unconfirmed amounts, ask to confirm those first
if (toDid == identity?.did && this.givenToMeUnconfirmed[fromDid] > 0) {