blob: a0cbac56ac737358e8806c66d5f680760f428afd [file] [log] [blame]
Yoshie Muranaka33d755f2021-02-18 15:24:14 -08001<template>
2 <b-modal
3 id="modal-switch-to-running"
4 :ok-title="$t('pageFirmware.modal.switchImages')"
5 :cancel-title="$t('global.action.cancel')"
6 :title="$t('pageFirmware.modal.switchRunningImage')"
7 @ok="$emit('ok')"
8 >
9 <p>
10 {{ $t('pageFirmware.modal.switchRunningImageInfo') }}
11 </p>
12 <p class="m-0">
13 {{
14 $t('pageFirmware.modal.switchRunningImageInfo2', {
15 backup,
16 })
17 }}
18 </p>
19 </b-modal>
20</template>
21
22<script>
Surya Vde23ea22024-07-11 15:19:46 +053023import { useI18n } from 'vue-i18n';
Yoshie Muranaka33d755f2021-02-18 15:24:14 -080024export default {
25 props: {
26 backup: {
27 type: String,
28 required: true,
29 },
30 },
Hariharan Rangasamyc5d60f52025-10-31 12:58:56 +053031 emits: ['ok'],
Surya Vde23ea22024-07-11 15:19:46 +053032 data() {
33 return {
34 $t: useI18n().t,
35 };
36 },
Yoshie Muranaka33d755f2021-02-18 15:24:14 -080037};
38</script>