diff --git a/src/app/services/data/trainrun.service.ts b/src/app/services/data/trainrun.service.ts index e6803127..726a41f7 100644 --- a/src/app/services/data/trainrun.service.ts +++ b/src/app/services/data/trainrun.service.ts @@ -377,6 +377,10 @@ export class TrainrunService { const iterator = this.getIterator(node, trainrunSection); while (iterator.hasNext()) { iterator.next(); + const trans = iterator.current().node.getTransition(iterator.current().trainrunSection.getId()); + if (trans){ + trans.setTrainrun(newTrainrun); + } iterator.current().trainrunSection.setTrainrun(newTrainrun); }