chore(ui): clear eslint expression cleanup bucket

Replace remaining side-effect ternaries with explicit control flow and drop unused error bindings so the affected editors and readers satisfy the current TypeScript lint rules.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:48 -04:00
committed by Zach Yale
parent ac6b44e64e
commit 79eef411d2
3 changed files with 42 additions and 10 deletions
@@ -88,7 +88,11 @@ export class AuthorEditorComponent implements OnInit, OnChanges {
const fieldControl = this.form.get(field);
if (fieldControl) {
isLocked ? fieldControl.disable() : fieldControl.enable();
if (isLocked) {
fieldControl.disable();
} else {
fieldControl.enable();
}
}
this.saveMetadata();