Changed switch to checkbox in boot settings form
- On the Server power operations page changed the switch to checkbox
since it has save button.
Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: I9def65f11012c535956b875107c28e351754f4e2
diff --git a/src/views/Control/ServerPowerOperations/BootSettings.vue b/src/views/Control/ServerPowerOperations/BootSettings.vue
index 71a78f2..3435f1c 100644
--- a/src/views/Control/ServerPowerOperations/BootSettings.vue
+++ b/src/views/Control/ServerPowerOperations/BootSettings.vue
@@ -36,13 +36,10 @@
<b-form-checkbox
id="tpm-required-policy"
v-model="form.tpmPolicyOn"
- switch
aria-describedby="tpm-required-policy-help-block"
@change="$v.form.tpmPolicyOn.$touch()"
>
- {{
- form.tpmPolicyOn ? $t('global.status.on') : $t('global.status.off')
- }}
+ {{ $t('global.status.enabled') }}
</b-form-checkbox>
</b-form-group>
<b-button variant="primary" type="submit" class="mb-3">
@@ -54,7 +51,7 @@
<script>
import { mapState } from 'vuex';
-import BVToastMixin from '../../../components/Mixins/BVToastMixin';
+import BVToastMixin from '@/components/Mixins/BVToastMixin';
import LoadingBarMixin from '@/components/Mixins/LoadingBarMixin';
export default {