summaryrefslogtreecommitdiff
path: root/src/views/Control/ServerPowerOperations/BootSettings.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Control/ServerPowerOperations/BootSettings.vue')
-rw-r--r--src/views/Control/ServerPowerOperations/BootSettings.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/views/Control/ServerPowerOperations/BootSettings.vue b/src/views/Control/ServerPowerOperations/BootSettings.vue
index eda4edaf..efd8d347 100644
--- a/src/views/Control/ServerPowerOperations/BootSettings.vue
+++ b/src/views/Control/ServerPowerOperations/BootSettings.vue
@@ -60,14 +60,14 @@ export default {
data() {
return {
form: {
- bootOption: this.$store.getters['hostBootSettings/bootSource'],
- oneTimeBoot: this.$store.getters['hostBootSettings/overrideEnabled'],
- tpmPolicyOn: this.$store.getters['hostBootSettings/tpmEnabled'],
+ bootOption: this.$store.getters['serverBootSettings/bootSource'],
+ oneTimeBoot: this.$store.getters['serverBootSettings/overrideEnabled'],
+ tpmPolicyOn: this.$store.getters['serverBootSettings/tpmEnabled'],
},
};
},
computed: {
- ...mapState('hostBootSettings', [
+ ...mapState('serverBootSettings', [
'bootSourceOptions',
'bootSource',
'overrideEnabled',
@@ -96,7 +96,7 @@ export default {
},
created() {
this.$store
- .dispatch('hostBootSettings/getTpmPolicy')
+ .dispatch('serverBootSettings/getTpmPolicy')
.finally(() =>
this.$root.$emit('server-power-operations-boot-settings-complete')
);
@@ -122,7 +122,7 @@ export default {
settings = { bootSource, overrideEnabled, tpmEnabled };
this.$store
- .dispatch('hostBootSettings/saveSettings', settings)
+ .dispatch('serverBootSettings/saveSettings', settings)
.then((message) => this.successToast(message))
.catch(({ message }) => this.errorToast(message))
.finally(() => {