Replace prettier with oxfmt (#37893)

This commit is contained in:
Renaud Chaput
2026-02-19 19:04:25 +01:00
committed by GitHub
parent 8e7c3973dc
commit e24737c612
18 changed files with 389 additions and 207 deletions

View File

@@ -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);
});