Skip to content

Commit

Permalink
1204 - don't redirect to description tab if component doesn't have pr…
Browse files Browse the repository at this point in the history
…operties
  • Loading branch information
kresimir-coko committed Jul 8, 2024
1 parent e380e68 commit ccb0b90
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,15 +325,6 @@ const WorkflowNodeDetailsPanel = ({

// Tab switching logic
useEffect(() => {
if (
activeTab !== 'output' &&
((!currentNode?.trigger && currentActionFetched) || (currentNode?.trigger && currentTriggerFetched))
) {
if (!currentOperationProperties?.length) {
setActiveTab('description');
}
}

if (activeTab === 'connection' && workflowConnections.length === 0) {
setActiveTab('description');
}
Expand Down

0 comments on commit ccb0b90

Please sign in to comment.