mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
don't display similar notes under search
This commit is contained in:
@@ -41,7 +41,9 @@ const TPL = `
|
||||
|
||||
export default class SimilarNotesWidget extends TabAwareWidget {
|
||||
isEnabled() {
|
||||
return super.isEnabled() && !this.note.hasLabel('similarNotesWidgetDisabled');
|
||||
return super.isEnabled()
|
||||
&& this.note.type !== 'search'
|
||||
&& !this.note.hasLabel('similarNotesWidgetDisabled');
|
||||
}
|
||||
|
||||
doRender() {
|
||||
|
||||
Reference in New Issue
Block a user