Skip to content

Commit 47135e7

Browse files
committed
Drop duplicate frequency in TrainrunSectionViewObject.generateKey()
Further down, these two calls return the same values: this.getTrainrun().getTrainrunFrequency().frequency this.getTrainrun().getTrainrunFrequency().offset Signed-off-by: Simon Ser <[email protected]>
1 parent 74da689 commit 47135e7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/app/view/editor-main-view/data-views/trainrunSectionViewObject.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ export class TrainrunSectionViewObject {
8888
"_" +
8989
firstSection.getNumberOfStops() +
9090
"_" +
91-
firstSection.getFrequency() +
92-
"_" +
93-
firstSection.getFrequencyOffset() +
94-
"_" +
9591
this.getTrainrun().getTrainrunCategory().shortName +
9692
"_" +
9793
this.getTrainrun().getTrainrunFrequency().shortName +

0 commit comments

Comments
 (0)