mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Disable Search in note button in global search context.
This button doesn't actually do anything in the global search window, so it should be greyed out/disabled.
This commit is contained in:
parent
05d2f4fe96
commit
4307f25205
@ -81,7 +81,7 @@ export default class NoteActionsWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
refreshWithNote(note) {
|
||||
this.toggleDisabled(this.$findInTextButton, ['text', 'code', 'book', 'search'].includes(note.type));
|
||||
this.toggleDisabled(this.$findInTextButton, ['text', 'code', 'book'].includes(note.type));
|
||||
|
||||
this.toggleDisabled(this.$showSourceButton, ['text', 'relationMap', 'mermaid'].includes(note.type));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user