diff --git a/ui/src/views/infra/network/IpRangesTabPublic.vue b/ui/src/views/infra/network/IpRangesTabPublic.vue
index 36a5d6480a8..df78eba9935 100644
--- a/ui/src/views/infra/network/IpRangesTabPublic.vue
+++ b/ui/src/views/infra/network/IpRangesTabPublic.vue
@@ -239,7 +239,7 @@
@@ -555,12 +555,9 @@ export default {
this.fetchDomains()
},
handleShowAccountFields () {
- if (this.showAccountFields === false) {
- this.showAccountFields = true
+ if (this.showAccountFields) {
this.fetchDomains()
- return
}
- this.showAccountFields = false
},
handleOpenAddIpRangeModal () {
this.initAddIpRangeForm()