Browse Source

Merge pull request #3170 from nocodb/fix/added-user-reloading-after-user-creation

vue3: Added users reloading after user creation
pull/3174/head
Raju Udava 2 years ago committed by GitHub
parent
commit
1254f56e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue

2
packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue

@ -85,7 +85,6 @@ const saveUser = async () => {
project_id: project.value.id,
projectName: project.value.title,
})
emit('reload')
emit('closed')
} else {
const res = await $api.auth.projectUserAdd(project.value.id, {
@ -96,6 +95,7 @@ const saveUser = async () => {
})
usersData.invitationToken = res.invite_token
}
emit('reload')
message.success('Successfully updated the user details')
} catch (e: any) {
console.error(e)

Loading…
Cancel
Save