Hotfix: wiadomość przy braku pociągów do wyświetlenia

This commit is contained in:
2020-08-20 00:58:12 +02:00
parent ad2c6b7ae6
commit 3cc9381d83
2 changed files with 96 additions and 91 deletions
-11
View File
@@ -180,17 +180,6 @@ export default class TrainsView extends Vue {
}
get computedTrains() {
// const trainDetected = this.onlineTrainsList.filter(
// (train) =>
// train.trainNo.toString().includes(this.searched) && this.searched != ""
// );
// const playerDetected = this.onlineTrainsList.filter(
// (train) =>
// // this.searched.toLowerCase().includes(train.driverName.toLowerCase())
// train.driverName.toLowerCase().includes(this.searched.toLowerCase()) &&
// this.searched != ""
// );
const computed = this.onlineTrainsList.filter(
(train) =>
!train.noTimetable &&