forked from jsnbuchanan/crowd-funder-for-time-pwa
Merging remote master into local
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user