Merge pull request #10319 from Budibase/budi-6856-fix-disabling-usergroup-edition

Bug - Fix disabling fields on first load
This commit is contained in:
Adria Navarro 2023-04-17 12:36:49 +02:00 committed by GitHub
commit 757bec11f7
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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