Added some elementary Vue constructs

This commit is contained in:
Matthew Aaron Raymer
2023-01-02 17:55:43 +08:00
parent c43fdcbb7f
commit f5a2d71ed3
3 changed files with 56 additions and 51 deletions

View File

@@ -222,9 +222,6 @@ export default class AccountViewView extends Vue {
});
}
useAppStore().setCondition("registered");
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... created new ID..."}))
//appStore.dispatch(appSlice.actions.addLog({log: false, msg: "... stored new ID..."}))
} catch (err) {
console.log("Error!");
console.log(err);
@@ -236,7 +233,6 @@ export default class AccountViewView extends Vue {
console.log("Problem! Should have a profile!");
} else {
const accounts = await db.accounts.toArray();
console.log(accounts[0]);
const identity = JSON.parse(accounts[0].identity);
this.address = identity.did;
this.publicHex = identity.keys[0].publicKeyHex;