From 6c90648034dc41028162fc2ceb6b64aef1be5abe Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 11 Apr 2024 19:04:20 -0400 Subject: [PATCH] active state for sidebar items --- src/lib/components/sidebar/SidebarItem.svelte | 8 +++++++- .../sidebar/stories/SidebarItem.stories.svelte | 6 ++++++ src/routes/app/sidebar/Documents.svelte | 17 +++++++++++++---- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/lib/components/sidebar/SidebarItem.svelte b/src/lib/components/sidebar/SidebarItem.svelte index 4ca2eeb1d..32331d2f7 100644 --- a/src/lib/components/sidebar/SidebarItem.svelte +++ b/src/lib/components/sidebar/SidebarItem.svelte @@ -1,4 +1,5 @@ - {$_("projects.allDocuments")} - {$_("projects.yourPubDocuments")} - {$_("projects.yourDocuments")} - + {$_("projects.orgDocuments", { values: { name: "MuckRock" },