Skip to content

Commit

Permalink
Fix import, still getting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Mar 12, 2024
1 parent f1f87e1 commit 8626dc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/app/Document.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
progress={$documents.realProgressMap[document.id]}
processed={$documents.pagesProcessedMap[document.id]}
pageCount={$documents.pageCountMap[document.id]}
noteCount={document.notes.length}
publicNote={document.notes.some((x) => x.access === "public")}
orgNote={document.notes.some((x) => x.access === "organization")}
privateNote={document.notes.some((x) => x.access === "private")}
noteCount={document.notes?.length}
publicNote={document.notes?.some((x) => x.access === "public")}
orgNote={document.notes?.some((x) => x.access === "organization")}
privateNote={document.notes?.some((x) => x.access === "private")}
on:pick
/>

Expand Down
1 change: 1 addition & 0 deletions src/structure/searchParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { DEFAULT_ORDERING } from "@/api/common.js";
import { getProjectDocuments } from "@/api/project.ts";
import { cacheAsync } from "@/util/cache.js";
import { highlight } from "@/search/parse.js";
import { Results } from "./results.js";

const searchDocumentsCached = cacheAsync(searchDocuments);

Expand Down

0 comments on commit 8626dc6

Please sign in to comment.