Work in progress for form create guess user
This commit is contained in:
@@ -61,6 +61,7 @@ export default {
|
||||
setup () {
|
||||
return {
|
||||
authStore: useAuthStore(),
|
||||
formsStore: useFormsStore(),
|
||||
workspaceStore: useWorkspacesStore()
|
||||
}
|
||||
},
|
||||
@@ -88,6 +89,9 @@ export default {
|
||||
const workspaces = await fetchAllWorkspaces()
|
||||
this.workspaceStore.set(workspaces.data.value)
|
||||
|
||||
// Load forms
|
||||
this.formsStore.loadAll(this.workspaceStore.currentId)
|
||||
|
||||
// Redirect home.
|
||||
this.redirect()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user