mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
⚡ Fix editor issue with unknown nodeTypes
This commit is contained in:
parent
ff74feefe4
commit
9dbe2449fb
|
@ -746,7 +746,8 @@ export const store = new Vuex.Store({
|
|||
|
||||
workflowTriggerNodes: (state, getters) => {
|
||||
return state.workflow.nodes.filter(node => {
|
||||
return getters.nodeType(node.type, node.typeVersion).group.includes('trigger');
|
||||
const nodeType = getters.nodeType(node.type, node.typeVersion);
|
||||
return nodeType && nodeType.group.includes('trigger');
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue