Merge pull request #19 from Spythere/development

hotfix: filling station name instead of dispatcher name
This commit is contained in:
Spythere
2025-07-07 22:59:54 +02:00
committed by GitHub
+1 -1
View File
@@ -246,7 +246,7 @@ export default defineComponent({
chosenOrder.header.trainNo = trainNo.toString(); chosenOrder.header.trainNo = trainNo.toString();
chosenOrder.header.date = currentFormattedDate(); chosenOrder.header.date = currentFormattedDate();
this.store.orderFooter.dispatcherName = this.selectedScenery.stationName; this.store.orderFooter.dispatcherName = this.selectedScenery.dispatcherName;
this.store.orderFooter.stationName = this.store.orderFooter.stationName =
this.selectedCheckpointName?.split(',')[0] || this.selectedScenery.stationName; this.selectedCheckpointName?.split(',')[0] || this.selectedScenery.stationName;
this.store.orderFooter.hour = currentFormattedHours(); this.store.orderFooter.hour = currentFormattedHours();