mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
fix activating ribbon tabs after note switch
This commit is contained in:
@@ -168,6 +168,10 @@ const OPTION_CLASSES = [
|
||||
];
|
||||
|
||||
export default class SearchDefinitionWidget extends NoteContextAwareWidget {
|
||||
get name() {
|
||||
return "searchDefinition";
|
||||
}
|
||||
|
||||
isEnabled() {
|
||||
return this.note && this.note.type === 'search';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user