mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
Merge pull request #4098 from AndrewPluzhnikov/fix-search-in-text
Disable Search in note button in global search context.
This commit is contained in:
commit
dc0a0dcf09
@ -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