bfg-common 1.5.578 → 1.5.580
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.
|
@@ -851,7 +851,7 @@ const onChangeSelectOptions = (options: string[]) => {
|
|
|
851
851
|
}
|
|
852
852
|
|
|
853
853
|
isPowerOnByDefault.value = options.includes('power-on')
|
|
854
|
-
isCreateLinkedClone.value = options.includes('create-
|
|
854
|
+
isCreateLinkedClone.value = options.includes('create-linked-clone')
|
|
855
855
|
}
|
|
856
856
|
const cloneCount = ref<number>(1)
|
|
857
857
|
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
v-model="isLinkedClone"
|
|
89
89
|
:label-text="localization.vmWizard.createLinkedClone"
|
|
90
90
|
:title="localization.vmWizard.createLinkedClone"
|
|
91
|
-
test-id="create-
|
|
91
|
+
test-id="create-linked-clone"
|
|
92
92
|
size="md"
|
|
93
93
|
/>
|
|
94
94
|
|
|
@@ -171,11 +171,11 @@ const onTogglePowerOn = (): void => {
|
|
|
171
171
|
const onToggleLinkedClone = (): void => {
|
|
172
172
|
isLinkedClone.value = !isLinkedClone.value
|
|
173
173
|
if (isLinkedClone.value) {
|
|
174
|
-
!modelValue.value.includes('create-
|
|
175
|
-
modelValue.value.push('create-
|
|
174
|
+
!modelValue.value.includes('create-linked-clone') &&
|
|
175
|
+
modelValue.value.push('create-linked-clone')
|
|
176
176
|
} else {
|
|
177
177
|
modelValue.value = modelValue.value.filter(
|
|
178
|
-
(item) => item !== 'create-
|
|
178
|
+
(item) => item !== 'create-linked-clone'
|
|
179
179
|
)
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
<div v-if="props.isCreateTemplate" class="checkbox">
|
|
42
42
|
<!-- :disabled="props.isCreateTemplate"-->
|
|
43
43
|
<input
|
|
44
|
-
id="create-
|
|
44
|
+
id="create-linked-clone"
|
|
45
45
|
v-model="modelValue"
|
|
46
|
-
data-id="create-
|
|
46
|
+
data-id="create-linked-clone"
|
|
47
47
|
type="checkbox"
|
|
48
|
-
value="create-
|
|
48
|
+
value="create-linked-clone"
|
|
49
49
|
/>
|
|
50
|
-
<label for="create-
|
|
50
|
+
<label for="create-linked-clone">{{
|
|
51
51
|
localization.vmWizard.createLinkedClone
|
|
52
52
|
}}</label>
|
|
53
53
|
|
|
@@ -82,7 +82,7 @@ const props = withDefaults(
|
|
|
82
82
|
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
83
83
|
|
|
84
84
|
const isLinkedClone = computed<boolean>(
|
|
85
|
-
() => modelValue.value?.includes('create-
|
|
85
|
+
() => modelValue.value?.includes('create-linked-clone') || false
|
|
86
86
|
)
|
|
87
87
|
</script>
|
|
88
88
|
|