diff --git a/packages/editor-ui/src/stores/nodeCreator.ts b/packages/editor-ui/src/stores/nodeCreator.ts index 6f4c384c0ae1b..cb3553b7bede8 100644 --- a/packages/editor-ui/src/stores/nodeCreator.ts +++ b/packages/editor-ui/src/stores/nodeCreator.ts @@ -339,8 +339,7 @@ export const useNodeCreatorStore = defineStore(STORES.NODE_CREATOR, { if (!nodeType) return []; const { workflowTriggerNodes } = useWorkflowsStore(); - const isTrigger = - nodeType.toLocaleLowerCase().includes('trigger') || nodeType === WEBHOOK_NODE_TYPE; + const isTrigger = useNodeTypesStore().isTriggerNode(nodeType); const workflowContainsTrigger = workflowTriggerNodes.length > 0; const isTriggerPanel = useNodeCreatorStore().selectedType === TRIGGER_NODE_FILTER; const isStickyNode = nodeType === STICKY_NODE_TYPE;