Skip to content

Commit 1556369

Browse files
authored
ui: Close Create network form from Zones -> Physical Network (Guest) -> Traffic Types view (#4993)
1 parent 0c47d4e commit 1556369

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

ui/src/views/infra/network/IpRangesTabGuest.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@
6464
:maskClosable="false"
6565
:footer="null"
6666
:cancelText="$t('label.cancel')"
67-
@cancel="showCreateForm = false"
67+
@cancel="closeAction"
6868
centered
6969
width="auto">
70-
<CreateNetwork :resource="{ zoneid: resource.zoneid }"/>
70+
<CreateNetwork :resource="{ zoneid: resource.zoneid }" @close-action="closeAction"/>
7171
</a-modal>
7272

7373
</a-spin>
@@ -161,6 +161,9 @@ export default {
161161
handleOpenShowCreateForm () {
162162
this.showCreateForm = true
163163
},
164+
closeAction () {
165+
this.showCreateForm = false
166+
},
164167
changePage (page, pageSize) {
165168
this.page = page
166169
this.pageSize = pageSize

0 commit comments

Comments
 (0)