add marker in feed to show where they've seen claims, plus other small clean-up
This commit is contained in:
@@ -127,7 +127,10 @@ export default class NewEditProjectView extends Vue {
|
||||
} else {
|
||||
const accounts = await accountsDB.accounts.toArray();
|
||||
const account = R.find((acc) => acc.did === this.activeDid, accounts);
|
||||
const identity = JSON.parse(account?.identity || "undefined");
|
||||
const identity = JSON.parse(account?.identity || "null");
|
||||
if (!identity) {
|
||||
throw new Error("No identity found.");
|
||||
}
|
||||
this.LoadProject(identity);
|
||||
}
|
||||
}
|
||||
@@ -259,7 +262,10 @@ export default class NewEditProjectView extends Vue {
|
||||
} else {
|
||||
const accounts = await accountsDB.accounts.toArray();
|
||||
const account = R.find((acc) => acc.did === this.activeDid, accounts);
|
||||
const identity = JSON.parse(account?.identity || "undefined");
|
||||
const identity = JSON.parse(account?.identity || "null");
|
||||
if (!identity) {
|
||||
throw new Error("No identity found.");
|
||||
}
|
||||
this.SaveProject(identity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user