From 58c779901902bcb2553bc8ef72d5ec39a69da480 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Tue, 15 Jul 2025 14:39:54 -0600 Subject: [PATCH] Dashboard local storage key --- apps/web/src/layouts/ChatLayout/ChatLayout/ChatLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/layouts/ChatLayout/ChatLayout/ChatLayout.tsx b/apps/web/src/layouts/ChatLayout/ChatLayout/ChatLayout.tsx index 5e3b6cdfa..c4edc067e 100644 --- a/apps/web/src/layouts/ChatLayout/ChatLayout/ChatLayout.tsx +++ b/apps/web/src/layouts/ChatLayout/ChatLayout/ChatLayout.tsx @@ -30,7 +30,7 @@ export const ChatLayout: React.FC = ({ children }) => { return ['380px', 'auto']; }, [selectedLayout]); - const autoSaveId = `chat-splitter-${chatLayoutProps.chatId || '🫥'}-${chatLayoutProps.metricId || '❌'}`; + const autoSaveId = `chat-splitter-${chatLayoutProps.chatId || '🫥'}-${chatLayoutProps.dashboardId || chatLayoutProps.metricId || '❌'}`; const leftPanelMinSize = selectedFile ? DEFAULT_CHAT_OPTION_SIDEBAR_SIZE : '0px'; const leftPanelMaxSize = selectedLayout === 'both' ? MAX_CHAT_BOTH_SIDEBAR_SIZE : undefined; const rightPanelMinSize = selectedFile ? DEFAULT_FILE_OPTION_SIDEBAR_SIZE : '0px';