We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7d0f20 commit 3359d7bCopy full SHA for 3359d7b
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block.tsx
@@ -631,8 +631,6 @@ export const WorkflowBlock = memo(function WorkflowBlock({
631
? ((credValue as { value?: unknown }).value as string | undefined)
632
: (credValue as string | undefined)
633
if (prevCredRef.current !== cred) {
634
- // Only clear dependent fields when credential changes from one value to another,
635
- // not when it's being set for the first time (e.g., during copilot block creation)
636
const hadPreviousCredential = prevCredRef.current !== undefined
637
prevCredRef.current = cred
638
if (hadPreviousCredential) {
0 commit comments