Merging remote master into local

This commit is contained in:
Matthew Raymer
2023-06-27 19:06:25 +08:00
25 changed files with 956 additions and 146 deletions

View File

@@ -222,8 +222,10 @@ export default class ProjectsView extends Vue {
} else {
const accounts = await accountsDB.accounts.toArray();
const account = R.find((acc) => acc.did === activeDid, accounts);
const identity = JSON.parse(account?.identity || "undefined");
this.current = identity;
const identity = JSON.parse(account?.identity || "null");
if (!identity) {
throw new Error("No identity found.");
}
this.LoadProjects(identity);
}
}