Skip to content

Commit

Permalink
issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aiAdrian committed Mar 18, 2024
1 parent 292d037 commit 15e5f04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/services/data/trainrun.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 15e5f04

Please sign in to comment.