mirror of https://github.com/apache/cloudstack.git
ui: fix 404 error when list volumes of system vms (#7772)
This PR fixes #7662
This commit is contained in:
parent
3f2449f3d8
commit
cdf01879ec
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue