Преглед изворни кода

Use proper name for waiting restoring flag

pull/8/head
Kristijan Mitrovic пре 4 година
родитељ
комит
9ebb15fdc7
4 измењених фајлова са 4 додато и 4 уклоњено
  1. +1
    -1
      src/_store/account.module.js
  2. +1
    -1
      src/_store/system.module.js
  3. +1
    -1
      src/app/App.vue
  4. +1
    -1
      src/auth/RestorePage.vue

+ 1
- 1
src/_store/account.module.js Прегледај датотеку

@@ -116,7 +116,7 @@ const actions = {
.then(
ok => {
commit('restoreSuccess');
systemConfigs.isInRestoringStatus = false;
systemConfigs.isWaitingRestoring = false;
},
error => commit('restoreFailure', error)
);


+ 1
- 1
src/_store/system.module.js Прегледај датотеку

@@ -21,7 +21,7 @@ const state = {
launchLock: null,
promoCodePolicy: null,
requireSendMetrics: null,
isInRestoringStatus: false,
isWaitingRestoring: false,
support: {},
securityLevels: null
},


+ 1
- 1
src/app/App.vue Прегледај датотеку

@@ -61,7 +61,7 @@ export default {
}),
locales () { return this.configs.locales; },
path () { return this.$route.path; },
isInRestoringMode () { return this.configs ? this.configs.isInRestoringStatus : undefined; }
isInRestoringMode () { return this.configs ? this.configs.isWaitingRestoring : undefined; }
},
methods: {
...mapActions({ clearAlert: 'alert/clear' }),


+ 1
- 1
src/auth/RestorePage.vue Прегледај датотеку

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

<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/>
<a href="/">{{ messages.message_back_to_root }}</a>
</div>


Loading…
Откажи
Сачувај