Merge pull request #12879 from Budibase/12251-budi-7719-invite-new-user-panel-should-pass-the-search-email-address-into-the-email-field-of-the-add-user-page

Allowed typed user query to be passed into invite user form.
This commit is contained in:
Michael Drury 2024-01-26 13:01:14 +00:00 committed by GitHub
commit 0504f1dfa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -392,6 +392,10 @@
} }
const openInviteFlow = () => { const openInviteFlow = () => {
// prevent email from getting overwritten if changes are made
if (!email) {
email = query
}
$licensing.userLimitReached $licensing.userLimitReached
? userLimitReachedModal.show() ? userLimitReachedModal.show()
: (invitingFlow = true) : (invitingFlow = true)