Fix disabling fields on first load

This commit is contained in:
adrinr 2023-04-16 18:45:09 +01:00
parent b1b5dae881
commit 965a417a21
2 changed files with 4 additions and 2 deletions

View File

@ -75,7 +75,8 @@
let loaded = false
let editModal, deleteModal
const scimEnabled = $features.isScimEnabled
let scimEnabled = false
$: scimEnabled = $features.isScimEnabled
$: readonly = !$auth.isAdmin || scimEnabled
$: page = $pageInfo.page

View File

@ -86,7 +86,8 @@
let user
let loaded = false
const scimEnabled = $features.isScimEnabled
let scimEnabled = false
$: scimEnabled = $features.isScimEnabled
$: isSSO = !!user?.provider
$: readonly = !$auth.isAdmin || scimEnabled