fixed the UI Set Superusers only button click not properly resetting the input state

This commit is contained in:
Gani Georgiev
2024-10-12 11:24:07 +03:00
parent 3c87df9e55
commit 749c77cb9d
28 changed files with 60 additions and 58 deletions
@@ -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 : ""}
/>