commit | a5dbf55f125c1b3841bdc1fc7743c9e9f347f3cc | [log] [tgz] |
---|---|---|
author | Huy Le Anh <hule@amperecomputing.com> | Mon Jan 13 07:35:35 2025 +0000 |
committer | HuyAnhLe <hule@amperecomputing.com> | Wed Feb 05 01:53:53 2025 +0000 |
tree | 2ce421b14a0588fcbb4bc98aebe6c00d4edf0e11 | |
parent | 85b2d315fffdd52f6c1b2b127d3ce30e5565a463 [diff] |
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>
diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue index 9c36f24..491dc7f 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')" >