mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Dodanie możliwości zmiany serwerów gry
This commit is contained in:
@@ -11,14 +11,6 @@
|
||||
@resetFilters="resetFilters"
|
||||
/>
|
||||
|
||||
<!-- <action-button>PL1</action-button> -->
|
||||
|
||||
<!-- <select-box
|
||||
style="margin-left: 0.5em"
|
||||
:itemList="regions"
|
||||
@selected="selectRegion"
|
||||
></select-box> -->
|
||||
|
||||
<div class="paypal-link">
|
||||
<a target="_blank" href="https://paypal.me/spythere">
|
||||
<img
|
||||
@@ -57,7 +49,7 @@ import { StoreData } from "@/scripts/interfaces/StoreData";
|
||||
import { DataStatus } from "@/scripts/enums/DataStatus";
|
||||
import { computed, ComputedRef, defineComponent, reactive } from "vue";
|
||||
import { useStore } from "@/store";
|
||||
import { ACTIONS, GETTERS, MUTATIONS } from "@/constants/storeConstants";
|
||||
import { GETTERS } from "@/constants/storeConstants";
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@@ -168,10 +160,6 @@ export default defineComponent({
|
||||
setFocusedStation(name: string) {
|
||||
this.focusedStationName = this.focusedStationName == name ? "" : name;
|
||||
},
|
||||
selectRegion(region: { id: string; value: string }) {
|
||||
this.$store.commit(MUTATIONS.SET_REGION, region.id);
|
||||
this.$store.dispatch(ACTIONS.fetchOnlineData);
|
||||
},
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user