Remove if-else workflow node flag (#17370)

As title
This commit is contained in:
Thomas Trompette
2026-01-22 17:33:52 +01:00
committed by GitHub
parent 2d7a73d82d
commit f11442953c
7 changed files with 1 additions and 23 deletions
@@ -17,9 +17,6 @@ export const CommandMenuWorkflowSelectAction = ({
onActionSelected: (actionType: WorkflowActionType) => void;
}) => {
const isAiEnabled = useIsFeatureEnabled(FeatureFlagKey.IS_AI_ENABLED);
const isIfElseEnabled = useIsFeatureEnabled(
FeatureFlagKey.IS_IF_ELSE_ENABLED,
);
const { t } = useLingui();
@@ -49,9 +46,7 @@ export const CommandMenuWorkflowSelectAction = ({
{t`Flow`}
</RightDrawerWorkflowSelectStepTitle>
<WorkflowActionMenuItems
actions={FLOW_ACTIONS.filter(
(action) => action.type !== 'IF_ELSE' || isIfElseEnabled,
)}
actions={FLOW_ACTIONS}
onClick={onActionSelected}
/>