bfg-common 1.4.232 → 1.4.233

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.
@@ -13,10 +13,10 @@
13
13
  @submit="onFinish"
14
14
  >
15
15
  <template #modalBody="{ selectedStep }">
16
- <common-wizards-vm-migrate-select-type
16
+ <templates-inventory-vm-configure-scheduled-tasks-modals-common-new-task-form
17
17
  v-if="selectedStep.id === 0"
18
- v-model="form.migrate_type"
19
- :project="props.project"
18
+ v-model="model"
19
+ :target="''"
20
20
  />
21
21
 
22
22
  <common-wizards-vm-migrate-select-type
@@ -125,6 +125,8 @@ const wizard: Wizard = new Wizard(
125
125
  const selectedScheme = computed<number[]>(() => wizard.selectedScheme.value)
126
126
  const alertMessages = computed<string[][]>(() => wizard.alertMessages.value)
127
127
 
128
+ const model = ref<any>({})
129
+
128
130
  const title = computed<string>(() => {
129
131
  let result = localization.value.common.migrate
130
132
  if (props.isScheduledTasks) {
@@ -209,7 +211,7 @@ watch(
209
211
  (newValue: UI_T_VmMigrateType) => {
210
212
  const schemes: UI_I_ChangeStepsSchemes = {
211
213
  procurator: {
212
- storage: 0,
214
+ storage: props.isScheduledTasks ? 1 : 0,
213
215
  },
214
216
  sphere: {
215
217
  storage: 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.232",
4
+ "version": "1.4.233",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",