mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
feat(client): hide language for non-text notes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user