mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki struktury projektu
This commit is contained in:
@@ -75,7 +75,7 @@ import { Vue, Component, Prop } from "vue-property-decorator";
|
||||
|
||||
import inputData from "@/data/options.json";
|
||||
|
||||
import StorageManager from "@/scripts/storageManager";
|
||||
import StorageManager from "@/scripts/managers/storageManager";
|
||||
import ActionButton from "../Global/ActionButton.vue";
|
||||
|
||||
@Component({ components: { ActionButton } })
|
||||
|
||||
@@ -281,14 +281,9 @@ export default class StationTable extends styleMixin {
|
||||
|
||||
if (!station) return;
|
||||
|
||||
if (!station.online) {
|
||||
window.location.href = station.stationURL;
|
||||
return;
|
||||
}
|
||||
|
||||
this.$router.push({
|
||||
name: "SceneryView",
|
||||
query: { hash: station.stationHash },
|
||||
query: { station: station.stationName.replaceAll(" ", "_") },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user