Skip to content

Commit aefa37c

Browse files
committed
Revert UI filtration for public IPs (#29)
* Fix issue with pagination of public addresses listed after filtering for external providers * Revert UI filteration for public IPs for external network provider enabled zones
1 parent 5688846 commit aefa37c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

ui/src/views/AutogenView.vue

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,19 +1004,6 @@ export default {
10041004
}
10051005
10061006
this.items = json[responseName][objectName]
1007-
var filteredItems = []
1008-
if (this.apiName === 'listPublicIpAddresses') {
1009-
for (var zone of this.$store.getters.zones) {
1010-
const zoneIps = this.items.filter(item => item.zoneid === zone.id)
1011-
const providerIps = zoneIps.filter(item => item.forprovider === true)
1012-
if (providerIps.length === 0) {
1013-
filteredItems.push(...zoneIps)
1014-
} else {
1015-
filteredItems.push(...providerIps)
1016-
}
1017-
}
1018-
this.items = filteredItems
1019-
}
10201007
if (!this.items || this.items.length === 0) {
10211008
this.items = []
10221009
}

0 commit comments

Comments
 (0)