From 7fd68f79c0ab0f37ec5418a2ffd419e32081bab7 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Mon, 25 Nov 2024 11:22:27 -0500 Subject: [PATCH] Restore "Your Documents" nav item --- src/lib/components/sidebar/Documents.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/components/sidebar/Documents.svelte b/src/lib/components/sidebar/Documents.svelte index b68be76b8..3aecd7eda 100644 --- a/src/lib/components/sidebar/Documents.svelte +++ b/src/lib/components/sidebar/Documents.svelte @@ -10,6 +10,7 @@ Globe16, Lock16, Organization16, + Person16, } from "svelte-octicons"; import { page } from "$app/stores"; @@ -28,6 +29,7 @@ $: query = $page.url.searchParams?.get("q") || ""; + $: mine = $me ? userDocs($me) : ""; $: minePublic = $me ? userDocs($me, "public") : ""; $: minePrivate = $me ? userDocs($me, "private") : ""; @@ -60,6 +62,10 @@ {$_("common.explore")} + + + {$_("documents.yourDocuments")} +