mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 17:27:27 +02:00
fixed the UI Set Superusers only button click not properly resetting the input state
This commit is contained in:
1 parent
3c87df9e55
commit
749c77cb9d
28 files changed
+60
-58
No files matched your search
@@ -48,7 +48,7 @@
|
||||
editorRef?.focus();
|
||||
}
|
||||
|
||||
async function lock() {
|
||||
function lock() {
|
||||
tempValue = rule;
|
||||
rule = null;
|
||||
}
|
||||
@@ -100,7 +100,7 @@
|
||||
bind:this={editorRef}
|
||||
bind:value={rule}
|
||||
baseCollection={collection}
|
||||
disabled={isDisabled}
|
||||
disabled={isDisabled || isSuperuserOnly}
|
||||
placeholder={!isSuperuserOnly ? placeholder : ""}
|
||||
/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user