diff options
author | Huy Le Anh <hule@amperecomputing.com> | 2025-01-13 10:35:35 +0300 |
---|---|---|
committer | HuyAnhLe <hule@amperecomputing.com> | 2025-02-05 04:53:53 +0300 |
commit | a5dbf55f125c1b3841bdc1fc7743c9e9f347f3cc (patch) | |
tree | 2ce421b14a0588fcbb4bc98aebe6c00d4edf0e11 /src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue | |
parent | 85b2d315fffdd52f6c1b2b127d3ce30e5565a463 (diff) | |
download | webui-vue-a5dbf55f125c1b3841bdc1fc7743c9e9f347f3cc.tar.xz |
Boot settings: remove oneTimeBootEnabled check
The commit [1] added oneTimeBootEnabled as condition to display
he Boot settings menu. It is not reasonable as the option is disabled
by default [2] and users can configure for a selected boot option to
be applied once or permanent.
This commit removes the check so that the menu is displayed when the
boot source option is supported.
Tested:
1. Log in to BMC Web and go to the server-power-operations page
2. The boot settings options are shown.
[1]: https://github.com/openbmc/webui-vue/commit/918526f20c16a05c261a56814657942a707323dd
[2]: https://github.com/openbmc/openbmc/blob/f8b0a12a3781e1f771630cad1244016b1ed6f8cd/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/boot_type.override.yml#L19
Change-Id: I1efd2ae0c201744076e3fb00229c81847e940687
Signed-off-by: Huy Le Anh <hule@amperecomputing.com>
Diffstat (limited to 'src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue')
-rw-r--r-- | src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue index 9c36f2431..491dc7f92 100644 --- a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue +++ b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue @@ -55,12 +55,7 @@ </b-col> </b-row> <b-row> - <b-col - v-if="hasBootSourceOptions && oneTimeBootEnabled" - sm="8" - md="6" - xl="4" - > + <b-col v-if="hasBootSourceOptions" sm="8" md="6" xl="4"> <page-section :section-title="$t('pageServerPowerOperations.serverBootSettings')" > |