Skip to content

Commit

Permalink
check for $me
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Apr 17, 2024
1 parent 398f92f commit 37bfb69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/app/sidebar/Documents.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
$: query = $page.url.searchParams.get("q") || "";
$: minePublic = userDocs($me, "public");
$: minePrivate = userDocs($me, "private");
$: minePublic = $me ? userDocs($me, "public") : "";
$: minePrivate = $me ? userDocs($me, "private") : "";
// +organization:muckrock-125
$: orgDocs = $org ? `+organization:${slugify($org.name)}-${$org.id}` : "";
Expand Down

0 comments on commit 37bfb69

Please sign in to comment.