mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +08:00
feat(client): hide language for non-text notes
This commit is contained in:
parent
642b84ce6b
commit
fd652ea7a5
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user