Fix content disappearance upon viewmode toggle

This commit is contained in:
akhisud3195 2025-09-12 13:20:28 +04:00
parent 168b01ca70
commit 1d3e3bb76e

View file

@ -2019,7 +2019,7 @@ export function WorkflowEditor({
)} )}
</ResizablePanelGroup> </ResizablePanelGroup>
) : ( ) : (
<ResizablePanelGroup key={`main-${viewMode}`} direction="horizontal" className="flex-1 flex overflow-auto gap-1 rounded-xl bg-zinc-50 dark:bg-zinc-900"> <ResizablePanelGroup key="main" direction="horizontal" className="flex-1 flex overflow-auto gap-1 rounded-xl bg-zinc-50 dark:bg-zinc-900">
{/* Agents (Entity List) column */} {/* Agents (Entity List) column */}
{(viewMode !== 'two_chat_skipper') && ( {(viewMode !== 'two_chat_skipper') && (
<ResizablePanel <ResizablePanel