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

Fix syntax error in forEach

parent 2e8038c7
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,7 @@ export class UnitService {
private static freeUpIds(elements: UIElement[]): void {
elements.forEach(element => {
if (element.type === 'drop-list') {
element.value.foreach((value: DragNDropValueObject) => {
element.value.forEach((value: DragNDropValueObject) => {
IdService.getInstance().removeId(value.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