Browse Source

fix/Added users reloading after user creation

pull/3170/head
Muhammed Mustafa 2 years ago
parent
commit
2112cc7d11
  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