refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)
This commit is contained in:
committed by
GitHub
parent
639afcd7a5
commit
68cff4c59e
@@ -200,8 +200,7 @@ export const useWorkflowsStore = defineStore(STORES.WORKFLOWS, {
|
||||
isNodeInOutgoingNodeConnections() {
|
||||
return (firstNode: string, secondNode: string): boolean => {
|
||||
const firstNodeConnections = this.outgoingConnectionsByNodeName(firstNode);
|
||||
if (!firstNodeConnections || !firstNodeConnections.main || !firstNodeConnections.main[0])
|
||||
return false;
|
||||
if (!firstNodeConnections?.main?.[0]) return false;
|
||||
const connections = firstNodeConnections.main[0];
|
||||
if (connections.some((node) => node.node === secondNode)) return true;
|
||||
return connections.some((node) =>
|
||||
|
||||
Reference in New Issue
Block a user