diff options
Diffstat (limited to 'src/views/Operations')
-rw-r--r-- | src/views/Operations/KeyClear/KeyClear.vue | 1 | ||||
-rw-r--r-- | src/views/Operations/RebootBmc/RebootBmc.vue | 1 | ||||
-rw-r--r-- | src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/views/Operations/KeyClear/KeyClear.vue b/src/views/Operations/KeyClear/KeyClear.vue index 2524da10..fbdf4c46 100644 --- a/src/views/Operations/KeyClear/KeyClear.vue +++ b/src/views/Operations/KeyClear/KeyClear.vue @@ -91,6 +91,7 @@ export default { okTitle: this.$t('pageKeyClear.modal.clear'), okVariant: 'danger', cancelTitle: this.$t('global.action.cancel'), + autoFocusButton: 'cancel', }) .then((clearConfirmed) => { if (clearConfirmed) { diff --git a/src/views/Operations/RebootBmc/RebootBmc.vue b/src/views/Operations/RebootBmc/RebootBmc.vue index 900619cd..fe575489 100644 --- a/src/views/Operations/RebootBmc/RebootBmc.vue +++ b/src/views/Operations/RebootBmc/RebootBmc.vue @@ -65,6 +65,7 @@ export default { title: this.$t('pageRebootBmc.modal.confirmTitle'), okTitle: this.$t('global.action.confirm'), cancelTitle: this.$t('global.action.cancel'), + autoFocusButton: 'ok', }) .then((confirmed) => { if (confirmed) this.rebootBmc(); diff --git a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue index e3864b4a..281bbef4 100644 --- a/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue +++ b/src/views/Operations/ServerPowerOperations/ServerPowerOperations.vue @@ -219,6 +219,7 @@ export default { title: this.$t('pageServerPowerOperations.modal.confirmRebootTitle'), okTitle: this.$t('global.action.confirm'), cancelTitle: this.$t('global.action.cancel'), + autoFocusButton: 'ok', }; if (this.form.rebootOption === 'orderly') { @@ -243,6 +244,7 @@ export default { title: this.$t('pageServerPowerOperations.modal.confirmShutdownTitle'), okTitle: this.$t('global.action.confirm'), cancelTitle: this.$t('global.action.cancel'), + autoFocusButton: 'ok', }; if (this.form.shutdownOption === 'orderly') { |