Merge pull request #10319 from Budibase/budi-6856-fix-disabling-usergroup-edition
Bug - Fix disabling fields on first load
This commit is contained in:
commit
757bec11f7
|
@ -75,8 +75,7 @@
|
|||
let loaded = false
|
||||
let editModal, deleteModal
|
||||
|
||||
const scimEnabled = $features.isScimEnabled
|
||||
|
||||
$: scimEnabled = $features.isScimEnabled
|
||||
$: readonly = !$auth.isAdmin || scimEnabled
|
||||
$: page = $pageInfo.page
|
||||
$: fetchUsers(page, searchTerm)
|
||||
|
|
|
@ -86,8 +86,7 @@
|
|||
let user
|
||||
let loaded = false
|
||||
|
||||
const scimEnabled = $features.isScimEnabled
|
||||
|
||||
$: scimEnabled = $features.isScimEnabled
|
||||
$: isSSO = !!user?.provider
|
||||
$: readonly = !$auth.isAdmin || scimEnabled
|
||||
$: privileged = user?.admin?.global || user?.builder?.global
|
||||
|
|
Loading…
Reference in New Issue