Merge pull request #9836 from Budibase/fix/lastName-validation-accept-invite

Fix to clear empty lastName string when accepting an invite to budibase
This commit is contained in:
Martin McKeaveney 2023-04-24 09:35:16 +01:00 committed by GitHub
commit 779d5fe53c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export function createUsersStore() {
inviteCode, inviteCode,
password, password,
firstName, firstName,
lastName, lastName: !lastName?.trim() ? undefined : lastName,
}) })
} }