mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 16:32:33 +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(".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