소스 검색

Rename restoreInProgress flag

pull/12/head
Kristijan Mitrovic 4 년 전
부모
커밋
9dc9622909
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -2
      src/_store/account.module.js
  2. +1
    -1
      src/_store/system.module.js
  3. +1
    -1
      src/auth/RestorePage.vue

+ 2
- 2
src/_store/account.module.js 파일 보기

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



+ 1
- 1
src/_store/system.module.js 파일 보기

@@ -22,7 +22,7 @@ const state = {
promoCodePolicy: null,
requireSendMetrics: null,
awaitingRestore: false,
restoringInProgress: false,
restoreInProgress: false,
support: {},
securityLevels: null,
jarVersion: null,


+ 1
- 1
src/auth/RestorePage.vue 파일 보기

@@ -5,7 +5,7 @@

<div v-if="!configs"><img :src="loadingImgSrc" /></div>

<div v-else-if="configs.restoringInProgress" class="alert alert-info">
<div v-else-if="configs.restoreInProgress" class="alert alert-info">
{{ messages.message_restore_not_applicable }}<hr/>
<a href="/">{{ messages.message_back_to_root }}</a>
</div>


불러오는 중...
취소
저장