diff --git a/ui/src/views/infra/network/IpRangesTabGuest.vue b/ui/src/views/infra/network/IpRangesTabGuest.vue
index 2cf51d3ce41..58e1e659215 100644
--- a/ui/src/views/infra/network/IpRangesTabGuest.vue
+++ b/ui/src/views/infra/network/IpRangesTabGuest.vue
@@ -64,10 +64,10 @@
:maskClosable="false"
:footer="null"
:cancelText="$t('label.cancel')"
- @cancel="showCreateForm = false"
+ @cancel="closeAction"
centered
width="auto">
-
+
@@ -161,6 +161,9 @@ export default {
handleOpenShowCreateForm () {
this.showCreateForm = true
},
+ closeAction () {
+ this.showCreateForm = false
+ },
changePage (page, pageSize) {
this.page = page
this.pageSize = pageSize