Fix to clear empty lastName string when accepting an invite to budibase

This commit is contained in:
Dean 2023-03-01 12:11:51 +00:00
parent 941b2e4200
commit fd5743a9da
1 changed files with 1 additions and 1 deletions

View File

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