You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/file-selector/components/microsoft-file-selector.tsx
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,8 @@ export function MicrosoftFileSelector({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/hooks/use-sub-block-value.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,8 @@ export function useSubBlockValue<T = any>(
65
65
conststoreValue=useSubBlockStore(
66
66
useCallback(
67
67
(state)=>{
68
-
if(!activeWorkflowId)returnnull
68
+
// If the active workflow ID isn't available yet, return undefined so we can fall back to initialValue
0 commit comments