forked from trent_larson/crowd-funder-for-time-pwa
Some small cleanup. Tried Plugin and have abandoned.
This commit is contained in:
@@ -115,7 +115,7 @@ router.beforeEach(async (to) => {
|
||||
const isPublic = publicPages.includes(to.path);
|
||||
const appStore = useAppStore();
|
||||
let return_path = "/start";
|
||||
console.log(isPublic);
|
||||
|
||||
if (isPublic) {
|
||||
switch (appStore.condition) {
|
||||
case "uninitialized":
|
||||
|
||||
@@ -228,7 +228,7 @@ export default class AccountViewView extends Vue {
|
||||
const num_accounts = await db.accounts.count();
|
||||
if (num_accounts === 0) {
|
||||
console.log("...");
|
||||
await db._allTables.accounts.add({
|
||||
await db.accounts.add({
|
||||
publicKey: newId.keys[0].publicKeyHex,
|
||||
mnemonic: this.mnemonic,
|
||||
identity: JSON.stringify(newId),
|
||||
|
||||
Reference in New Issue
Block a user