Skip to content

Commit cdf0187

Browse files
ui: fix 404 error when list volumes of system vms (#7772)
This PR fixes #7662
1 parent 3f2449f commit cdf0187

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/src/views/AutogenView.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,10 @@ export default {
769769
this.dataView = false
770770
}
771771
772+
if (this.dataView && ['Admin'].includes(this.$store.getters.userInfo.roletype) && this.routeName === 'volume') {
773+
params.listsystemvms = true
774+
}
775+
772776
if ('listview' in this.$refs && this.$refs.listview) {
773777
this.$refs.listview.resetSelection()
774778
}

0 commit comments

Comments
 (0)