File tree Expand file tree Collapse file tree
apps/sim/app/workspace/[workspaceId]/w Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -863,7 +863,7 @@ const WorkflowContent = React.memo(() => {
863863 logger . info ( `Workflow ${ currentId } not found, redirecting to first available workflow` )
864864
865865 // Validate that workflows belong to the current workspace before redirecting
866- const workspaceWorkflows = workflowIds . filter ( id => {
866+ const workspaceWorkflows = workflowIds . filter ( ( id ) => {
867867 const workflow = workflows [ id ]
868868 return workflow . workspaceId === workspaceId
869869 } )
@@ -880,7 +880,9 @@ const WorkflowContent = React.memo(() => {
880880 // Validate that the current workflow belongs to the current workspace
881881 const currentWorkflow = workflows [ currentId ]
882882 if ( currentWorkflow && currentWorkflow . workspaceId !== workspaceId ) {
883- logger . warn ( `Workflow ${ currentId } belongs to workspace ${ currentWorkflow . workspaceId } , not ${ workspaceId } ` )
883+ logger . warn (
884+ `Workflow ${ currentId } belongs to workspace ${ currentWorkflow . workspaceId } , not ${ workspaceId } `
885+ )
884886 // Redirect to the correct workspace for this workflow
885887 router . replace ( `/workspace/${ currentWorkflow . workspaceId } /w/${ currentId } ` )
886888 return
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function WorkflowsPage() {
3838 const workflowIds = Object . keys ( workflows )
3939
4040 // Validate that workflows belong to the current workspace
41- const workspaceWorkflows = workflowIds . filter ( id => {
41+ const workspaceWorkflows = workflowIds . filter ( ( id ) => {
4242 const workflow = workflows [ id ]
4343 return workflow . workspaceId === workspaceId
4444 } )
You can’t perform that action at this time.
0 commit comments