add ability to confirm a claim

This commit is contained in:
2023-12-08 14:10:01 -07:00
parent 098ef3c644
commit b18e554886
5 changed files with 184 additions and 28 deletions

View File

@@ -335,7 +335,7 @@ export default class ContactsView extends Vue {
}
}
public async getIdentity(activeDid: string) {
public async getIdentity(activeDid: string): Promise<IIdentifier> {
await accountsDB.open();
const accounts = await accountsDB.accounts.toArray();
const account = R.find((acc) => acc.did === activeDid, accounts) as Account;