diff --git a/client/src/pages/platform/workflow-editor/components/WorkflowNodesTabs.tsx b/client/src/pages/platform/workflow-editor/components/WorkflowNodesTabs.tsx
index 94bc419151..b54fe941e8 100644
--- a/client/src/pages/platform/workflow-editor/components/WorkflowNodesTabs.tsx
+++ b/client/src/pages/platform/workflow-editor/components/WorkflowNodesTabs.tsx
@@ -50,7 +50,7 @@ const WorkflowNodesTabs = ({
)}
- {ff_1057 && !hideTaskDispatchers && (
+ {!hideTaskDispatchers && (
Flows
@@ -128,31 +128,36 @@ const WorkflowNodesTabs = ({
{taskDispatcherDefinitions.length ? (
- taskDispatcherDefinitions.map(
- (
- taskDispatcherDefinition: TaskDispatcherDefinition & {
- taskDispatcher?: boolean;
- }
- ) => (
-
- onItemClick &&
- onItemClick({
- ...taskDispatcherDefinition,
- taskDispatcher: true,
- } as ClickedDefinitionType)
- }
- key={taskDispatcherDefinition.name}
- node={
- taskDispatcherDefinition as (
- | ComponentDefinitionBasic
- | TaskDispatcherDefinition
- ) & {taskDispatcher: boolean; trigger: boolean}
+ taskDispatcherDefinitions
+ .filter(
+ (taskDispatcherDefinition) =>
+ ff_1057 || taskDispatcherDefinition.name === 'condition'
+ )
+ .map(
+ (
+ taskDispatcherDefinition: TaskDispatcherDefinition & {
+ taskDispatcher?: boolean;
}
- />
+ ) => (
+
+ onItemClick &&
+ onItemClick({
+ ...taskDispatcherDefinition,
+ taskDispatcher: true,
+ } as ClickedDefinitionType)
+ }
+ key={taskDispatcherDefinition.name}
+ node={
+ taskDispatcherDefinition as (
+ | ComponentDefinitionBasic
+ | TaskDispatcherDefinition
+ ) & {taskDispatcher: boolean; trigger: boolean}
+ }
+ />
+ )
)
- )
) : (
No flow controls found.