bfg-common 1.4.225 → 1.4.226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
show
|
|
5
5
|
:wizard="wizard"
|
|
6
6
|
:selected-scheme="selectedScheme"
|
|
7
|
-
:title="
|
|
7
|
+
:title="title"
|
|
8
8
|
:localization="localization"
|
|
9
9
|
class="migrate-vm-wizard"
|
|
10
10
|
test-id="migrate-vm-wizard"
|
|
@@ -94,6 +94,7 @@ import * as validation from '~/components/common/wizards/vm/migrate/lib/validati
|
|
|
94
94
|
|
|
95
95
|
const props = defineProps<{
|
|
96
96
|
project: UI_T_Project
|
|
97
|
+
isScheduledTasks: boolean
|
|
97
98
|
vmSettings: UI_I_VmSettings | null
|
|
98
99
|
vmName: string
|
|
99
100
|
getDatastoreTableFunc: (payload: UI_I_TablePayload) => Promise<void>
|
|
@@ -118,6 +119,15 @@ const wizard: Wizard = new Wizard(
|
|
|
118
119
|
const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
|
|
119
120
|
const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
|
|
120
121
|
|
|
122
|
+
const title = computed<string>(() => {
|
|
123
|
+
let result = localization.value.common.migrate
|
|
124
|
+
if (props.isScheduledTasks) {
|
|
125
|
+
result = `${localization.value.common.scheduleNewTasks} (${localization.value.common.migrate})`
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
const isConnectSourceServer = ref<boolean>(false)
|
|
122
132
|
const form = ref<UI_I_MigrateFormLocal>({
|
|
123
133
|
migrate_type: props.project === 'procurator' ? 'storage' : 'resource',
|