forked from jsnbuchanan/crowd-funder-for-time-pwa
test: add function for test User #0 to register a new user
This commit is contained in:
@@ -178,6 +178,7 @@ import { createIdentifier, deriveAddress, newIdentifier } from "../libs/crypto";
|
||||
import { db } from "../db";
|
||||
import { useAppStore } from "@/store/app";
|
||||
import { ref } from "vue";
|
||||
//import { testServerRegisterUser } from "../test";
|
||||
|
||||
@Options({
|
||||
components: {},
|
||||
@@ -191,6 +192,9 @@ export default class AccountViewView extends Vue {
|
||||
source = ref("Hello");
|
||||
copy = useClipboard().copy;
|
||||
|
||||
// This registers current user in vue plugin with: $vm.ctx.testRegisterUser()
|
||||
//testRegisterUser = testServerRegisterUser;
|
||||
|
||||
// 'created' hook runs when the Vue instance is first created
|
||||
async created() {
|
||||
const appCondition = useAppStore().condition;
|
||||
|
||||
Reference in New Issue
Block a user