DaanHoogland commented on code in PR #11575:
URL: https://github.com/apache/cloudstack/pull/11575#discussion_r2330099138


##########
ui/src/views/AutogenView.vue:
##########
@@ -1723,8 +1723,10 @@ export default {
       const query = Object.assign({}, this.$route.query)
       delete query.templatefilter
       delete query.isofilter
-      delete query.account
-      delete query.domainid
+      if (!['publicip'].includes(this.$route.name)) {
+        delete query.account
+        delete query.domainid
+      }
       delete query.state
       delete query.annotationfilter

Review Comment:
   just for readability:
   ```suggestion
         delete query.state
         delete query.annotationfilter
         if (!['publicip'].includes(this.$route.name)) {
           delete query.account
           delete query.domainid
         }
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to