diff --git a/src/App.vue b/src/App.vue index 4b8c3ce..14f14ce 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,75 +4,60 @@ - - diff --git a/src/store/actions.ts b/src/store/actions.ts index 9408885..f02210c 100644 --- a/src/store/actions.ts +++ b/src/store/actions.ts @@ -9,7 +9,7 @@ import { DynmapConfigurationResponse, DynmapLineUpdate, DynmapMarkerSet, DynmapMarkerUpdate, - DynmapPlayer, DynmapTileUpdate, + DynmapPlayer, DynmapServerConfig, DynmapTileUpdate, DynmapUpdateResponse } from "@/dynmap"; @@ -57,7 +57,7 @@ export interface Actions { } export const actions: ActionTree & Actions = { - [ActionTypes.LOAD_CONFIGURATION]({commit}) { + [ActionTypes.LOAD_CONFIGURATION]({commit}): Promise { return API.getConfiguration().then(config => { commit(MutationTypes.SET_CONFIGURATION, config.config); commit(MutationTypes.SET_MESSAGES, config.messages);