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:
commit
0504f1dfa3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue