feat: make it possible to fake online state via dev env #720

Merged
konrad merged 1 commits from dpschen/frontend:feature/add-dev-online-state into main 2021-09-08 16:30:14 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export const store = new Vuex.Store({
state.errorMessage = error
},
[ONLINE](state, online) {
state.online = online
state.online = import.meta.env.VITE_IS_ONLINE || online
},
[CURRENT_LIST](state, currentList) {