mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
UI: fix 'Next' button is stuck if no public ip range (#7198)
This commit is contained in:
parent
f2d1a34271
commit
933970d9da
@ -2553,6 +2553,7 @@
|
||||
"message.error.invalid.autoscale.vmgroup.name": "Invalid AutoScale VM group name. It can contain the ASCII letters 'a' through 'z', 'A' through 'Z', the digits '0' through '9' and the hyphen ('-'), must be between 1 and 255 characters long.",
|
||||
"message.error.ip.range": "Please enter valid range.",
|
||||
"message.error.ipv4.address": "Please enter a valid IPv4 address.",
|
||||
"message.error.ipv4.dns1": "Please enter IpV4 DNS 1",
|
||||
"message.error.ipv4.dns2": "Please enter IpV4 DNS 2",
|
||||
"message.error.ipv6.address": "Please enter a valid IP v6 address.",
|
||||
"message.error.ipv6.gateway": "Please enter IpV6 Gateway",
|
||||
|
||||
@ -110,14 +110,16 @@
|
||||
</div>
|
||||
</div>
|
||||
<a-modal
|
||||
v-if="showError"
|
||||
:visible="showError"
|
||||
:closable="true"
|
||||
:maskClosable="false"
|
||||
:title="`${$t('label.error')}!`"
|
||||
:footer="null"
|
||||
@cancel="showError = false"
|
||||
centered
|
||||
>
|
||||
<div v-ctrl-enter="showError = false">
|
||||
<div v-ctrl-enter="() => showError = false">
|
||||
<span>{{ $t('message.required.add.least.ip') }}</span>
|
||||
<div :span="24" class="action-button">
|
||||
<a-button @click="showError = false">{{ $t('label.cancel') }}</a-button>
|
||||
@ -260,6 +262,7 @@ export default {
|
||||
},
|
||||
handleSubmit () {
|
||||
if (this.isValidSetup()) {
|
||||
this.showError = false
|
||||
if (this.isFixError) {
|
||||
this.$emit('submitLaunchZone')
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user