Skip to content

Commit 914d24d

Browse files
committed
update comment
1 parent c837d0c commit 914d24d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/promote-workspace-modal/components

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/promote-workspace-modal/components/resource-reconfigure.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,8 @@ function BlockReconfig({
231231
context={{
232232
...field.context,
233233
...providedValues,
234-
// The target workspace, for workspace-scoped selectors (e.g. table.columns). The
235-
// parent value below wins on key collision, though parentContextKey never collides.
236-
...(workspaceId ? { workspaceId } : {}),
234+
// Target workspace, for workspace-scoped selectors like table.columns.
235+
workspaceId,
237236
[field.parentContextKey]: parentTargetValue,
238237
}}
239238
enabled={parentTargetValue !== '' && ready}

0 commit comments

Comments
 (0)