make linter happy

This commit is contained in:
Mads Rasmussen
2024-08-21 13:50:24 +02:00
parent a244700dcc
commit 1dcbed5bb1

View File

@@ -124,7 +124,12 @@ export class UmbInputDocumentElement extends UmbFormControlMixin<string | undefi
}
public set readonly(value) {
this.#readonly = value;
this.#readonly ? this.#sorter.disable() : this.#sorter.enable();
if (this.#readonly) {
this.#sorter.disable();
} else {
this.#sorter.enable();
}
}
#readonly = false;