Skip to content
Snippets Groups Projects
Commit b3ce39ca authored by rhenck's avatar rhenck
Browse files

[editor] Fix DnD element connectedTo property change

Does no longer change the options instead of the connectedTo array. I 
reworked some logic that before only changed the options to now be able 
to handle any kind of string list.
parent 1b12b874
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ export class UnitService {
.subscribe((result: string) => {
if (result) {
oldOptions[optionIndex] = result;
this.updateElementProperty(this.selectionService.getSelectedElements(), 'options', oldOptions);
this.updateElementProperty(this.selectionService.getSelectedElements(), property, oldOptions);
}
});
}
......
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