diff --git a/src/App.scss b/src/App.scss index 6c84526..511bb00 100644 --- a/src/App.scss +++ b/src/App.scss @@ -124,6 +124,7 @@ .info_counter { display: flex; align-items: center; + color: $accentCol; span { @@ -133,6 +134,10 @@ img { width: 1.35em; } + + & > .region { + color: paleturquoise; + } } // FOOTER diff --git a/src/App.vue b/src/App.vue index 838a5bc..8bfc186 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,7 +39,10 @@ +
+ {{ currentRegion.value }} + icon dispatcher {{ data.activeStationCount }} {{ data.activeTrainCount }} @@ -104,7 +107,7 @@ export default defineComponent({ () => store.getters[GETTERS.allData] ); - const currentRegion: ComputedRef = computed( + const currentRegion: ComputedRef<{ id: string; value: string }> = computed( () => store.getters[GETTERS.currentRegion] ); @@ -154,12 +157,6 @@ export default defineComponent({ StorageManager.setStringValue("lang", lang); }, - // changeRegion(region: string = "eu") { - // this.$store.commit(MUTATIONS.SET_REGION, region); - // this.$store.dispatch(ACTIONS.fetchOnlineData); - - // }, - loadLang() { const storageLang = StorageManager.getStringValue("lang"); diff --git a/src/components/Global/SelectBox.vue b/src/components/Global/SelectBox.vue index c3702ce..5c10c59 100644 --- a/src/components/Global/SelectBox.vue +++ b/src/components/Global/SelectBox.vue @@ -186,7 +186,7 @@ button.selected { height: 100%; - min-width: 10em; + min-width: 9em; text-align: center; } diff --git a/src/components/StationsView/StationFilterCard.vue b/src/components/StationsView/StationFilterCard.vue index 37ec8a4..510065f 100644 --- a/src/components/StationsView/StationFilterCard.vue +++ b/src/components/StationsView/StationFilterCard.vue @@ -13,6 +13,29 @@
{{ $t("filters.title") }}
+
+ + + +
+
-
@@ -78,10 +93,12 @@