diff options
Diffstat (limited to 'src/views/Logs/Dumps/DumpsForm.vue')
-rw-r--r-- | src/views/Logs/Dumps/DumpsForm.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/views/Logs/Dumps/DumpsForm.vue b/src/views/Logs/Dumps/DumpsForm.vue index 7da3084f9..17257d1ec 100644 --- a/src/views/Logs/Dumps/DumpsForm.vue +++ b/src/views/Logs/Dumps/DumpsForm.vue @@ -40,6 +40,7 @@ import Alert from '@/components/Global/Alert'; import BVToastMixin from '@/components/Mixins/BVToastMixin'; import VuelidateMixin from '@/components/Mixins/VuelidateMixin.js'; import i18n from '@/i18n'; +import { useI18n } from 'vue-i18n'; export default { components: { Alert, ModalConfirmation }, @@ -51,10 +52,14 @@ export default { }, data() { return { + $t: useI18n().t, selectedDumpType: null, dumpTypeOptions: [ - { value: 'bmc', text: i18n.global.t('pageDumps.form.bmcDump') }, - { value: 'system', text: i18n.global.t('pageDumps.form.systemDump') }, + { value: 'bmc', text: i18n.global.t('pageDumps.dumpTypes.bmcDump') }, + { + value: 'system', + text: i18n.global.t('pageDumps.dumpTypes.systemDump'), + }, ], }; }, |