|
|
@@ -302,7 +302,7 @@ const mutations = { |
|
|
|
|
|
|
|
restoreRequest(state, systemConfigs) { |
|
|
|
state.status = Object.assign({}, state.status, {restoring: true}); |
|
|
|
systemConfigs.restoringInProgress = true; |
|
|
|
systemConfigs.restoreInProgress = true; |
|
|
|
}, |
|
|
|
restoreSuccess(state, systemConfigs) { |
|
|
|
state.status = Object.assign({}, state.status, {restoring: false}); |
|
|
@@ -310,7 +310,7 @@ const mutations = { |
|
|
|
}, |
|
|
|
restoreFailure(state, systemConfigs, error) { |
|
|
|
state.status = Object.assign({}, state.status, {restoring: false}); |
|
|
|
systemConfigs.restoringInProgress = false; |
|
|
|
systemConfigs.restoreInProgress = false; |
|
|
|
console.log('restore failed: ' + JSON.stringify(error)); |
|
|
|
}, |
|
|
|
|
|
|
|