Skip to content
Snippets Groups Projects
Commit 119b9803 authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Fixes equals method to be based on id instead of name

parent e1a8bc99
No related branches found
No related tags found
1 merge request!2Implemented editor in the react framework
Pipeline #56801 passed
......@@ -54,6 +54,6 @@ export class NodeType extends GraphElement {
const type = other as NodeType;
return type.name === this.name;
return type.id === this.id;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment