We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4604684 commit 997e406Copy full SHA for 997e406
1 file changed
ui/src/views/infra/network/IpRangesTabGuest.vue
@@ -64,10 +64,10 @@
64
:maskClosable="false"
65
:footer="null"
66
:cancelText="$t('label.cancel')"
67
- @cancel="showCreateForm = false"
+ @cancel="closeAction"
68
centered
69
width="auto">
70
- <CreateNetwork :resource="{ zoneid: resource.zoneid }"/>
+ <CreateNetwork :resource="{ zoneid: resource.zoneid }" @close-action="closeAction"/>
71
</a-modal>
72
73
</a-spin>
@@ -161,6 +161,9 @@ export default {
161
handleOpenShowCreateForm () {
162
this.showCreateForm = true
163
},
164
+ closeAction () {
165
+ this.showCreateForm = false
166
+ },
167
changePage (page, pageSize) {
168
this.page = page
169
this.pageSize = pageSize
0 commit comments