@@ -116,7 +116,7 @@ const actions = { | |||||
.then( | .then( | ||||
ok => { | ok => { | ||||
commit('restoreSuccess'); | commit('restoreSuccess'); | ||||
systemConfigs.isInRestoringStatus = false; | |||||
systemConfigs.isWaitingRestoring = false; | |||||
}, | }, | ||||
error => commit('restoreFailure', error) | error => commit('restoreFailure', error) | ||||
); | ); | ||||
@@ -21,7 +21,7 @@ const state = { | |||||
launchLock: null, | launchLock: null, | ||||
promoCodePolicy: null, | promoCodePolicy: null, | ||||
requireSendMetrics: null, | requireSendMetrics: null, | ||||
isInRestoringStatus: false, | |||||
isWaitingRestoring: false, | |||||
support: {}, | support: {}, | ||||
securityLevels: null | securityLevels: null | ||||
}, | }, | ||||
@@ -61,7 +61,7 @@ export default { | |||||
}), | }), | ||||
locales () { return this.configs.locales; }, | locales () { return this.configs.locales; }, | ||||
path () { return this.$route.path; }, | path () { return this.$route.path; }, | ||||
isInRestoringMode () { return this.configs ? this.configs.isInRestoringStatus : undefined; } | |||||
isInRestoringMode () { return this.configs ? this.configs.isWaitingRestoring : undefined; } | |||||
}, | }, | ||||
methods: { | methods: { | ||||
...mapActions({ clearAlert: 'alert/clear' }), | ...mapActions({ clearAlert: 'alert/clear' }), | ||||
@@ -5,7 +5,7 @@ | |||||
<div v-if="!configs"><img :src="loadingImgSrc" /></div> | <div v-if="!configs"><img :src="loadingImgSrc" /></div> | ||||
<div v-else-if="!configs.isInRestoringStatus" class="alert alert-info"> | |||||
<div v-else-if="!configs.isWaitingRestoring" class="alert alert-info"> | |||||
{{ messages.message_restore_not_applicable }}<hr/> | {{ messages.message_restore_not_applicable }}<hr/> | ||||
<a href="/">{{ messages.message_back_to_root }}</a> | <a href="/">{{ messages.message_back_to_root }}</a> | ||||
</div> | </div> | ||||