Skip to content

Commit

Permalink
updated users
Browse files Browse the repository at this point in the history
  • Loading branch information
Pari Work Temp committed Sep 24, 2024
1 parent fca98c4 commit 900e777
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,6 @@ export function useUsers() {
register,
registerForm,
getCodeUidFromRoute,
fillUserForm,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
import InputField from '@/components/inputs/InputField.vue'
import { useUsers } from '@/composables/Users'
import LoadingSpinner from '@/components/LoadingSpinner.vue'
import { onMounted } from 'vue'
export default {
name: 'Signup',
Expand All @@ -99,7 +100,11 @@ export default {
LoadingSpinner,
},
setup() {
const { register, loading, registerForm } = useUsers()
const { register, loading, registerForm, fillUserForm } = useUsers()
onMounted(() => {
fillUserForm()
})
return {
form: registerForm,
Expand Down

0 comments on commit 900e777

Please sign in to comment.