Skip to content

Commit 2271ac2

Browse files
author
Sim Pi Agent
committed
chore: investigate Slack-reported engineering task
1 parent b69fdbd commit 2271ac2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/panel.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ export const Panel = memo(function Panel() {
116116
const router = useRouter()
117117
const params = useParams()
118118
const workspaceId = params.workspaceId as string
119+
const workflowId = params.workflowId as string
120+
const copilotDraftScopeKey = `${workspaceId}:copilot:${workflowId}`
119121

120122
const posthog = usePostHog()
121123
const posthogRef = useRef(posthog)
@@ -898,6 +900,7 @@ export const Panel = memo(function Panel() {
898900
onCancelQueueEdit={copilotCancelQueueEdit}
899901
userId={session?.user?.id}
900902
chatId={copilotResolvedChatId}
903+
draftScopeKey={copilotDraftScopeKey}
901904
layout='copilot-view'
902905
/>
903906
</div>

0 commit comments

Comments
 (0)