mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-08-29 10:09:26 +02:00
mobile: fix error on android's search query (#10106)
* mobile: pass value for items when searching on main screen to match other screens' pattern Signed-off-by: Suyadi <afsuyadi@gmail.com> * core: guard notesWithHighlighting against an undefined notes selector. Signed-off-by: Suyadi <afsuyadi@gmail.com> * core: add regression test for notesWithHighlighting crash. Signed-off-by: Suyadi <afsuyadi@gmail.com> * core: revert changes after feedback Signed-off-by: Suyadi <afsuyadi@gmail.com> * mobile: ensure type: "note" will make items become mandatory. Signed-off-by: Suyadi <afsuyadi@gmail.com> * core: remove tests after feedback Signed-off-by: Suyadi <afsuyadi@gmail.com>
This commit is contained in:
@@ -114,7 +114,6 @@ export default class Lookup {
|
||||
): Promise<VirtualizedGrouping<HighlightedResult>> {
|
||||
const db = this.db.sql() as unknown as Kysely<RawDatabaseSchema>;
|
||||
const excludedIds = this.db.trash.cache.notes;
|
||||
|
||||
const {
|
||||
content,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user