diff --git a/src/drawApp/graphics/TurnoutInteraction.ts b/src/drawApp/graphics/TurnoutInteraction.ts index b1bbe32..3670ad9 100644 --- a/src/drawApp/graphics/TurnoutInteraction.ts +++ b/src/drawApp/graphics/TurnoutInteraction.ts @@ -316,16 +316,10 @@ export class TurnoutData extends GraphicDataBase implements ITurnoutData { get kilometerSystem(): KilometerSystem[] { return this.data.kilometerSystem.length > 0 ? this.data.kilometerSystem - : [ - new graphicData.KilometerSystem({ - coordinateSystem: '', - kilometer: 0, - }), - new graphicData.KilometerSystem({ - coordinateSystem: '', - kilometer: 0, - }), - ]; + : (this.data.kilometerSystem = [ + new graphicData.KilometerSystem(), + new graphicData.KilometerSystem(), + ]); } set kilometerSystem(value: KilometerSystem[]) { this.data.kilometerSystem = value.map(