Make sure setEnrichedUsers is called when tenantOwnerLoaded (#14491)

This commit is contained in:
melohagan 2024-08-30 18:40:43 +01:00 committed by GitHub
parent 4b5ab43266
commit fc367476c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@
$: pendingSchema = getPendingSchema(schema)
$: userData = []
$: inviteUsersResponse = { successful: [], unsuccessful: [] }
$: setEnrichedUsers($fetch.rows)
$: setEnrichedUsers($fetch.rows, tenantOwnerLoaded)
const setEnrichedUsers = async rows => {
if (!tenantOwnerLoaded) {