feat: make it possible to fake online state via dev env (#720)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #720
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-08 16:30:14 +00:00 committed by konrad
parent c9631c1e71
commit c4095327ad
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) {