diff --git a/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts b/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts index 19ced16919..a6db5ced5d 100644 --- a/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts +++ b/packages/frontend/editor-ui/src/components/Node/NodeCreator/composables/useActionsGeneration.ts @@ -21,6 +21,7 @@ import { i18n } from '@n8n/i18n'; import { getCredentialOnlyNodeType } from '@/utils/credentialOnlyNodes'; import { formatTriggerActionName } from '../utils'; import { useEvaluationStore } from '@/stores/evaluation.store.ee'; +import { useSettingsStore } from '@/stores/settings.store'; const PLACEHOLDER_RECOMMENDED_ACTION_KEY = 'placeholder_recommended'; @@ -109,7 +110,12 @@ function operationsCategory(nodeTypeDescription: INodeTypeDescription): ActionTy languageProperty, nodeTypeDescription, ); - if (customParsedItems) return customParsedItems; + if (customParsedItems) { + // temporary filter until native Python runner is GA + return useSettingsStore().isNativePythonRunnerEnabled + ? customParsedItems + : customParsedItems.filter((item) => item.actionKey !== 'language_pythonNative'); + } } }