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

rohit pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.18 by this push:
     new cdf01879ec3 ui: fix 404 error when list volumes of system vms (#7772)
cdf01879ec3 is described below

commit cdf01879ec3c0f05de2d711776a2570b80efb507
Author: Wei Zhou <[email protected]>
AuthorDate: Wed Jul 26 18:29:45 2023 +0800

    ui: fix 404 error when list volumes of system vms (#7772)
    
    This PR fixes #7662
---
 ui/src/views/AutogenView.vue | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue
index cf552e2ede4..4bd291b97a1 100644
--- a/ui/src/views/AutogenView.vue
+++ b/ui/src/views/AutogenView.vue
@@ -769,6 +769,10 @@ export default {
         this.dataView = false
       }
 
+      if (this.dataView && 
['Admin'].includes(this.$store.getters.userInfo.roletype) && this.routeName === 
'volume') {
+        params.listsystemvms = true
+      }
+
       if ('listview' in this.$refs && this.$refs.listview) {
         this.$refs.listview.resetSelection()
       }

Reply via email to