Fix disabling fields on first load
This commit is contained in:
parent
b1b5dae881
commit
965a417a21
|
@ -75,7 +75,8 @@
|
||||||
let loaded = false
|
let loaded = false
|
||||||
let editModal, deleteModal
|
let editModal, deleteModal
|
||||||
|
|
||||||
const scimEnabled = $features.isScimEnabled
|
let scimEnabled = false
|
||||||
|
$: scimEnabled = $features.isScimEnabled
|
||||||
|
|
||||||
$: readonly = !$auth.isAdmin || scimEnabled
|
$: readonly = !$auth.isAdmin || scimEnabled
|
||||||
$: page = $pageInfo.page
|
$: page = $pageInfo.page
|
||||||
|
|
|
@ -86,7 +86,8 @@
|
||||||
let user
|
let user
|
||||||
let loaded = false
|
let loaded = false
|
||||||
|
|
||||||
const scimEnabled = $features.isScimEnabled
|
let scimEnabled = false
|
||||||
|
$: scimEnabled = $features.isScimEnabled
|
||||||
|
|
||||||
$: isSSO = !!user?.provider
|
$: isSSO = !!user?.provider
|
||||||
$: readonly = !$auth.isAdmin || scimEnabled
|
$: readonly = !$auth.isAdmin || scimEnabled
|
||||||
|
|
Loading…
Reference in New Issue