diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-08-11 01:12:09 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-08-12 20:29:28 +0300 |
commit | e9fc6125da79176d32aa0d0b89e36aff67347fc8 (patch) | |
tree | 0827c0f323dd21e3e20b0680bae8b0eb0a741034 /src | |
parent | 57b2262843db8724ecbfbcc6cef0906d736f2834 (diff) | |
download | webui-vue-e9fc6125da79176d32aa0d0b89e36aff67347fc8.tar.xz |
Update server power operations viewable actions
The server power operations page should show power operations if
the server is in an error state. This update will make sure options
are visible as long as the status is not 'off' or an operation is
in progress.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I8d1211bd1ccaa8b5ec69a0dda4556eb97fc40e91
Diffstat (limited to 'src')
-rw-r--r-- | src/views/Control/ServerPowerOperations/ServerPowerOperations.vue | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue index de377e11..41d8cf07 100644 --- a/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue +++ b/src/views/Control/ServerPowerOperations/ServerPowerOperations.vue @@ -48,7 +48,7 @@ {{ $t('pageServerPowerOperations.powerOn') }} </b-button> </template> - <template v-else-if="hostStatus === 'on'"> + <template v-else> <!-- Reboot server options --> <b-form novalidate class="mb-5" @submit.prevent="rebootServer"> <b-form-group @@ -110,9 +110,6 @@ </b-button> </b-form> </template> - <template v-else> - {{ $t('global.status.notAvailable') }} - </template> </page-section> </b-col> </b-row> |