Poprawki w strukturze i optymalizacji

This commit is contained in:
2021-05-03 22:09:49 +02:00
parent 98499f1141
commit f15b8da856
8 changed files with 11 additions and 319 deletions
+2 -3
View File
@@ -48,7 +48,6 @@ import SelectBox from "../Global/SelectBox.vue";
export default class TrainOptions extends Vue {
// Passed as component parameters
@Prop() readonly queryTrain!: string;
@Prop() readonly focusedTrain!: string;
exitIcon = require("@/assets/icon-exit.svg");
@@ -127,9 +126,9 @@ export default class TrainOptions extends Vue {
onQueryTrainChanged(train: string | undefined) {
if (!train) return;
if (train == "") return;
console.log("query train changed", train);
// this.chooseTrain(train);
this.searchedTrain = train;
this.searchedDriver = "";
}
}
</script>