This is an automated email from the ASF dual-hosted git repository.

pearl11594 pushed a commit to branch netris-integration-upstream
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit cb872102b6440dc69149c09ce2cf7f81078824a4
Author: Pearl Dsilva <[email protected]>
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 972f0b2cb7a..c62156d8b26 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -1004,19 +1004,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 = []
         }

Reply via email to