diff options
Diffstat (limited to 'src/views/Control/FactoryReset')
-rw-r--r-- | src/views/Control/FactoryReset/FactoryResetModal.vue | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/Control/FactoryReset/FactoryResetModal.vue b/src/views/Control/FactoryReset/FactoryResetModal.vue index bf92b173..170bf284 100644 --- a/src/views/Control/FactoryReset/FactoryResetModal.vue +++ b/src/views/Control/FactoryReset/FactoryResetModal.vue @@ -22,7 +22,7 @@ </ul> <!-- Warning message --> - <template v-if="!isHostOff"> + <template v-if="!isServerOff"> <p class="d-flex mb-2"> <status-icon status="danger" /> <span id="reset-to-default-warning" class="ml-1"> @@ -82,17 +82,17 @@ export default { }; }, computed: { - hostStatus() { - return this.$store.getters['global/hostStatus']; + serverStatus() { + return this.$store.getters['global/serverStatus']; }, - isHostOff() { - return this.hostStatus === 'off' ? true : false; + isServerOff() { + return this.serverStatus === 'off' ? true : false; }, }, validations: { confirm: { mustBeTrue: function (value) { - return this.isHostOff || value === true; + return this.isServerOff || value === true; }, }, }, |