2020-11-23 16:16:26 +00:00
|
|
|
import {GetterTree} from "vuex";
|
|
|
|
import {State} from "@/store/state";
|
|
|
|
|
|
|
|
export type Getters = {
|
2020-11-24 01:56:03 +00:00
|
|
|
playerMarkersEnabled(state: State): boolean;
|
2020-11-23 16:16:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export const getters: GetterTree<State, State> & Getters = {
|
2020-11-24 01:56:03 +00:00
|
|
|
playerMarkersEnabled(state: State): boolean {
|
|
|
|
return state.components.playerMarkers !== undefined;
|
|
|
|
}
|
2020-11-23 16:16:26 +00:00
|
|
|
}
|