bfg-common 1.3.287 → 1.3.288
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.
- package/assets/localization/local_be.json +2 -1
- package/assets/localization/local_en.json +2 -1
- package/assets/localization/local_hy.json +2 -1
- package/assets/localization/local_kk.json +2 -1
- package/assets/localization/local_ru.json +2 -1
- package/assets/localization/local_zh.json +2 -1
- package/components/common/vm/actions/add/Add.vue +609 -577
- package/components/common/vm/actions/add/lib/config/steps.ts +6 -1
- package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +164 -170
- package/components/common/vm/actions/common/select/computeResource/lib/ComputeResource.spec.ts +473 -473
- package/components/common/vm/actions/common/select/name/Name.vue +6 -0
- package/package.json +1 -1
|
@@ -143,6 +143,12 @@ const checkNameIsValid = async (name: string): Promise<boolean> => {
|
|
|
143
143
|
|
|
144
144
|
const status = error?.statusCode || 200
|
|
145
145
|
switch (status) {
|
|
146
|
+
case 405: // Invalid kind
|
|
147
|
+
showValidationErrors([
|
|
148
|
+
localization.value.kindValidationDescription,
|
|
149
|
+
])
|
|
150
|
+
resolve(false)
|
|
151
|
+
break
|
|
146
152
|
case 406: // Invalid name
|
|
147
153
|
showValidationErrors([
|
|
148
154
|
localization.value.vmNameValidationDescription2,
|