mirror of
https://github.com/zadam/trilium.git
synced 2026-07-06 23:18:27 +02:00
fix(search): double results if search has inheritable viewType
This commit is contained in:
@@ -321,6 +321,10 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
|
||||
return false;
|
||||
}
|
||||
|
||||
if (note.type === "search") {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!["default", "contextual-help"].includes(this.viewScope?.viewMode ?? "")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user