diff --git a/src/components/NotificationTeaser.svelte b/src/components/NotificationTeaser.svelte index c35eaa858..5fcef3c0c 100644 --- a/src/components/NotificationTeaser.svelte +++ b/src/components/NotificationTeaser.svelte @@ -24,6 +24,7 @@ import InlineTitle from "@app/components/InlineTitle.svelte"; import NodeId from "@app/components/NodeId.svelte"; import { closeFocused } from "@app/components/Popover.svelte"; + import { revealRepoInSidebar } from "@app/components/SidebarRepoList.svelte"; interface Props { rid: string; @@ -181,6 +182,7 @@ class="notification-teaser" onclick={() => { if (route) { + revealRepoInSidebar(rid); void push(route); closeFocused(); } diff --git a/src/components/SidebarRepoList.svelte b/src/components/SidebarRepoList.svelte index e7ba3229c..4256f2879 100644 --- a/src/components/SidebarRepoList.svelte +++ b/src/components/SidebarRepoList.svelte @@ -1,3 +1,41 @@ + +