fix (linter): linting error

This commit is contained in:
MickaelK 2025-08-29 18:21:37 +10:00
parent a83aed5a4c
commit 87ec71b3cb

View file

@ -57,7 +57,7 @@ export default function(render, { acl$, getFilename, getDownloadUrl }) {
}))),
rxjs.mergeMap((formSpec) => rxjs.from(createForm(formSpec, formTmpl({
renderInput: (opts) => {
let $el = $renderInput({ autocomplete: true })(opts);
const $el = $renderInput({ autocomplete: true })(opts);
if ($el.hasAttribute("disabled")) {
$el.removeAttribute("disabled");
$el.setAttribute("readonly", "true");