diff options
-rw-r--r-- | src/store/modules/Control/ControlStore.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/store/modules/Control/ControlStore.js b/src/store/modules/Control/ControlStore.js index 6f9ced43..f88f2aa7 100644 --- a/src/store/modules/Control/ControlStore.js +++ b/src/store/modules/Control/ControlStore.js @@ -64,11 +64,8 @@ const ControlStore = { commit('setOperationInProgress', false); }, async hostHardReboot({ dispatch, commit }) { - // TODO: Update when ForceWarmReboot property - // available - dispatch('hostPowerChange', { ResetType: 'ForceOff' }); - await checkForHostStatus.bind(this, 'off')(); - dispatch('hostPowerChange', { ResetType: 'On' }); + const data = { ResetType: 'ForceRestart' }; + dispatch('hostPowerChange', data); await checkForHostStatus.bind(this, 'on')(); commit('setOperationInProgress', false); }, |