mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-21 16:03:26 +00:00
fix: keep the flow chat mounted when leaving the chat tab (#11872)
This commit is contained in:
@@ -129,7 +129,13 @@
|
||||
|
||||
{#snippet content()}
|
||||
<div class="grow min-h-0 overflow-y-auto">
|
||||
<TabContent value="form" class="flex flex-col flex-1 h-full">
|
||||
<!-- The chat holds its open conversation, running turns and draft in component
|
||||
state, so leaving the tab must not unmount it. -->
|
||||
<TabContent
|
||||
value="form"
|
||||
alwaysMounted={isChatMode}
|
||||
class="flex flex-col flex-1 h-full"
|
||||
>
|
||||
{@render form?.({ graphInline: false })}
|
||||
</TabContent>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user