There was an error while loading. Please reload this page.
1 parent b69fdbd commit e554493Copy full SHA for e554493
1 file changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx
@@ -116,6 +116,8 @@ export const Panel = memo(function Panel() {
116
const router = useRouter()
117
const params = useParams()
118
const workspaceId = params.workspaceId as string
119
+ const workflowId = params.workflowId as string
120
+ const copilotDraftScopeKey = `${workspaceId}:copilot:${workflowId}`
121
122
const posthog = usePostHog()
123
const posthogRef = useRef(posthog)
@@ -898,6 +900,7 @@ export const Panel = memo(function Panel() {
898
900
onCancelQueueEdit={copilotCancelQueueEdit}
899
901
userId={session?.user?.id}
902
chatId={copilotResolvedChatId}
903
+ draftScopeKey={copilotDraftScopeKey}
904
layout='copilot-view'
905
/>
906
</div>
0 commit comments