From 2112cc7d1129847605ae07cdb304675169377731 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Tue, 16 Aug 2022 12:07:23 +0530 Subject: [PATCH] fix/Added users reloading after user creation --- .../components/tabs/auth/user-management/UsersModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue b/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue index d557eeea40..cac1f3fe8e 100644 --- a/packages/nc-gui-v2/components/tabs/auth/user-management/UsersModal.vue +++ b/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)