Skip to content

Commit 3222512

Browse files
review amends
1 parent 4f4fe24 commit 3222512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Graph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ export default {
709709
})
710710
const disabled = isParent || isAncestor
711711
for (const childFamily of node.node.descendants) {
712-
if (this.namespaces.map((obj) => obj.name).includes(childFamily)) {
712+
if (this.namespaces.some((obj) => obj.name === childFamily)) {
713713
const childTokens = this.workflows[0].tokens.clone({ cycle: `$namespace|${childFamily}` })
714714
const childNode = this.cylcTree.$index[childTokens.id]
715715
if (childNode.node.firstParent.id === node.id) {

0 commit comments

Comments
 (0)