Poprawki stylów i kodu

This commit is contained in:
2022-05-25 13:21:24 +02:00
parent bbd3f982a9
commit 86b8272423
7 changed files with 3 additions and 16 deletions
+3 -1
View File
@@ -204,7 +204,7 @@ export default defineComponent({
.timetable_progress-bar {
position: relative;
width: 100px;
width: 6em;
height: 1em;
.bar-fg,
@@ -212,6 +212,8 @@ export default defineComponent({
position: absolute;
height: 1em;
width: 100%;
left: 0;
}
.bar-fg {
-5
View File
@@ -144,7 +144,6 @@ export default defineComponent({
toggleTimetable(train: Train, state?: boolean) {
const id = this.getTrainId(train);
console.log(id, this);
if (state !== undefined) {
this.chosenTrainId = state ? id : null;
@@ -158,10 +157,6 @@ export default defineComponent({
this.chosenTrainId = null;
},
showTrainId(train: Train) {
console.log(this.getTrainId(train));
},
getTrainId(train: Train) {
return train.driverName + train.trainNo.toString();
},