Compare commits

...

1 Commits

Author SHA1 Message Date
ammarahm-ed
33590c3d71 mobile: fix crash on get search items 2023-04-27 11:27:09 +05:00

View File

@@ -118,6 +118,7 @@ const Notebook = ({ route, navigation }: NavigationProps<"Notebook">) => {
get: () => {
const notebook = db.notebooks?.notebook(params?.current?.item?.id)
?.data as NotebookType;
if (!notebook) return [];
return db.relations?.from(notebook, "note");
}
});