Kaynağa Gözat

always update state.upgradeCheck after upgrade, even if failure

pull/76/head
Jonathan Cobb 4 yıl önce
ebeveyn
işleme
6e9b9fd011
1 değiştirilmiş dosya ile 3 ekleme ve 5 silme
  1. +3
    -5
      src/_store/system.module.js

+ 3
- 5
src/_store/system.module.js Dosyayı Görüntüle

@@ -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) {},


Yükleniyor…
İptal
Kaydet