Timothy J. Baek 7 月之前
父節點
當前提交
dc6e68bd60
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      src/lib/components/layout/Sidebar.svelte

+ 8 - 1
src/lib/components/layout/Sidebar.svelte

@@ -14,7 +14,10 @@
 		pinnedChats,
 		scrollPaginationEnabled,
 		currentChatPage,
-		temporaryChatEnabled
+		temporaryChatEnabled,
+		showArtifacts,
+		showOverview,
+		showControls
 	} from '$lib/stores';
 	import { onMount, getContext, tick } from 'svelte';
 
@@ -291,6 +294,10 @@
 						if ($mobile) {
 							showSidebar.set(false);
 						}
+
+						showControls.set(false);
+						showArtifacts.set(false);
+						showOverview.set(false);
 					}, 0);
 				}}
 			>