diff --git a/frontend/src/lib/components/card/Card.svelte b/frontend/src/lib/components/card/Card.svelte
index 0fc47fe..dd4070a 100644
--- a/frontend/src/lib/components/card/Card.svelte
+++ b/frontend/src/lib/components/card/Card.svelte
@@ -35,7 +35,7 @@
{#if showModal}
-{:else}{/if}
+{/if}
diff --git a/frontend/src/lib/components/project/Sidebar.svelte b/frontend/src/lib/components/project/Sidebar.svelte
index eca2469..9cf987d 100644
--- a/frontend/src/lib/components/project/Sidebar.svelte
+++ b/frontend/src/lib/components/project/Sidebar.svelte
@@ -56,12 +56,16 @@
{#each $views as view}
currentView.set(view)}
+ on:click={() => {
+ currentView.set(view);
+ isVisible = false;
+ }}
role="button"
tabindex="0"
on:keydown={(e) => {
if (e.key === 'Enter') {
currentView.set(view);
+ isVisible = false;
}
}}
class:active={$currentView === view}