diff --git a/src/components/Changelog.vue b/src/components/Changelog.vue
index 62cebc4..c5e4b68 100644
--- a/src/components/Changelog.vue
+++ b/src/components/Changelog.vue
@@ -4,35 +4,37 @@
-
-
{{ item.name }} ->
+
+ -
+ {{ item.name }} ->
-
- do usunięcia
+
+ do usunięcia
-
-
-
- {{ (HeaderTypes as any)[changeName] }}:
+
+
+
+ {{ (HeaderTypes as any)[changeName] }}:
-
- {{ getAvailabilityValue(changeValue as Availability) }}
+
+ {{ getAvailabilityValue(changeValue as Availability) }}
+
+
+
+
+
+ {{ changeValue ? 'TAK' : 'NIE' }}
+
+
+
+ {{ changeValue }}
+
+
+ ;
-
-
-
-
- {{ changeValue ? 'TAK' : 'NIE' }}
-
-
-
- {{ changeValue }}
-
-
- ;
-
-
+
+
@@ -63,27 +65,21 @@ export default defineComponent({
};
});
},
- // changelog() {
- // return this.store.changeList
- // .map((changeItem) => {
- // let itemChanges = [];
- // if (changeItem.toRemove) return `${changeItem.name} -> do usunięcia`;
- // for (let change in changeItem) {
- // let propChange = change as ChangeProp;
- // if (/^(id|name)$/.test(propChange)) continue;
- // let value = typeof changeItem[propChange] === 'boolean' ? (changeItem[propChange] ? 'TAK' : 'NIE') : changeItem[propChange];
- // if (propChange == 'availability') value = getAvailabilityValue(changeItem[propChange] as Availability);
- // // if (propChange == 'routesInfo') value = this.getRouteNames(changeItem[propChange] as SceneryRoutesInfo[]);
- // itemChanges.push(`${(HeaderTypes as any)[propChange]}: ${value ?? '-'}`);
- // }
- // console.log(itemChanges);
- // return `${changeItem.name} -> ` + itemChanges.join('; ');
- // })
- // .join('
');
- // },
},
components: { RouteList },
});
-
+
diff --git a/src/components/RoutesModal.vue b/src/components/RoutesModal.vue
index 1578f6d..c7b4456 100644
--- a/src/components/RoutesModal.vue
+++ b/src/components/RoutesModal.vue
@@ -174,11 +174,10 @@ export default defineComponent({
if (index == -1) return;
- const routeString = this.parseRoutes();
+ // const routeString = this.parseRoutes();
this.addChange(this.store.currentStation!, 'routesInfo', this.routeBackup, this.currentRoutes);
this.store.stationList[index]['routesInfo'] = this.currentRoutes;
- // this.currentRoutes.push(this.cur)
},
},
});
diff --git a/src/components/TableActions.vue b/src/components/TableActions.vue
index f207d7f..a301af8 100644
--- a/src/components/TableActions.vue
+++ b/src/components/TableActions.vue
@@ -61,25 +61,19 @@
-
+
-
-
-
+