Refresh pending invites after inviting a new user in the portal user menu

This commit is contained in:
Dean 2023-04-26 16:42:27 +01:00
parent 785b6f50ae
commit 4f8e293dc9
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@
})) }))
try { try {
inviteUsersResponse = await users.invite(payload) inviteUsersResponse = await users.invite(payload)
pendingInvites = await users.getInvites()
inviteConfirmationModal.show() inviteConfirmationModal.show()
} catch (error) { } catch (error) {
notifications.error("Error inviting user") notifications.error("Error inviting user")