feat: make it possible to fake online state via dev env (#720)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/720 Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
c9631c1e71
commit
c4095327ad
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export const store = new Vuex.Store({
|
||||||
state.errorMessage = error
|
state.errorMessage = error
|
||||||
},
|
},
|
||||||
[ONLINE](state, online) {
|
[ONLINE](state, online) {
|
||||||
state.online = online
|
state.online = import.meta.env.VITE_IS_ONLINE || online
|
||||||
},
|
},
|
||||||
[CURRENT_LIST](state, currentList) {
|
[CURRENT_LIST](state, currentList) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue