feat(client): hide language for non-text notes

This commit is contained in:
Elian Doran 2025-03-04 17:29:37 +02:00
parent 642b84ce6b
commit fd652ea7a5
No known key found for this signature in database

View File

@ -124,5 +124,6 @@ export default class BasicPropertiesWidget extends NoteContextAwareWidget {
}
this.$widget.find(".editability-select-container").toggle(this.note && ["text", "code"].includes(this.note.type));
this.$widget.find(".note-language-container").toggle(this.note && ["text"].includes(this.note.type));
}
}