You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2025/03/05 22:51:51 UTC
(cloudstack) 21/44: Revert UI filtration for public IPs (#29)
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch netris-update-vpc-and-tier-names
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 6157c8f70c52bf4f741121d5dfa08ef8c7ffd659
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Fri Dec 6 13:46:26 2024 -0500
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
---
ui/src/views/AutogenView.vue | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index 54524ccc6b8..7083787a908 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -1001,19 +1001,6 @@ export default {
}
this.items = json[responseName][objectName]
- var filteredItems = []
- if (this.apiName === 'listPublicIpAddresses') {
- for (var zone of this.$store.getters.zones) {
- const zoneIps = this.items.filter(item => item.zoneid === zone.id)
- const providerIps = zoneIps.filter(item => item.forprovider === true)
- if (providerIps.length === 0) {
- filteredItems.push(...zoneIps)
- } else {
- filteredItems.push(...providerIps)
- }
- }
- this.items = filteredItems
- }
if (!this.items || this.items.length === 0) {
this.items = []
}