Procházet zdrojové kódy

always update state.upgradeCheck after upgrade, even if failure

pull/76/head
Jonathan Cobb před 4 roky
rodič
revize
6e9b9fd011
1 změnil soubory, kde provedl 3 přidání a 5 odebrání
  1. +3
    -5
      src/_store/system.module.js

+ 3
- 5
src/_store/system.module.js Zobrazit soubor

@@ -210,11 +210,8 @@ const actions = {
(error) => commit('checkForUpgradeFailure', error)
);
} else {
console.log(
'checkForUpgrade: already checked (' +
state.upgradeCheck +
'), not checking again'
);
commit('checkForUpgradeFailure', null)
console.log('checkForUpgrade: already checked (' + state.upgradeCheck + '), not checking again');
}
},
upgrade({ commit }) {
@@ -535,6 +532,7 @@ const mutations = {
},
checkForUpgradeFailure(state, error) {
state.error = error;
state.upgradeCheck = null;
},

upgradeRequest(state) {},


Načítá se…
Zrušit
Uložit