checkpointy; hotfixy

This commit is contained in:
2024-02-10 22:42:35 +01:00
parent fc0c04ec9d
commit 90b2099955
11 changed files with 83 additions and 106 deletions
+1 -5
View File
@@ -169,11 +169,7 @@ export default defineComponent({
loadSelectedCheckpoint() {
if (!this.stationInfo?.generalInfo?.checkpoints) return;
if (this.stationInfo.generalInfo.checkpoints.length == 0) return;
this.selectedCheckpoint = this.stationInfo.generalInfo.checkpoints[0].checkpointName;
},
selectCheckpoint(cp: { checkpointName: string }) {
this.selectedCheckpoint = cp.checkpointName;
this.selectedCheckpoint = this.stationInfo.generalInfo.checkpoints[0];
}
}
});