Replace prettier with oxfmt (#37893)
This commit is contained in:
1 parent
8e7c3973dc
commit
e24737c612
18 files changed
+389
-207
No files matched your search
@@ -366,9 +366,9 @@ on('change', '#account_statuses_cleanup_policy_enabled', ({ target }) => {
|
||||
if (!(target instanceof HTMLInputElement) || !target.form) return;
|
||||
|
||||
target.form
|
||||
.querySelectorAll<
|
||||
HTMLInputElement | HTMLSelectElement
|
||||
>('input:not([type=hidden], #account_statuses_cleanup_policy_enabled), select')
|
||||
.querySelectorAll<HTMLInputElement | HTMLSelectElement>(
|
||||
'input:not([type=hidden], #account_statuses_cleanup_policy_enabled), select',
|
||||
)
|
||||
.forEach((input) => {
|
||||
setInputDisabled(input, !target.checked);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user