forked from jsnbuchanan/crowd-funder-for-time-pwa
Added some elementary Vue constructs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user