mirror of https://github.com/apache/cloudstack.git
Implement custom state query param handler in AutogenView
This commit is contained in:
parent
b1ef786590
commit
9055136907
|
|
@ -1172,6 +1172,10 @@ export default {
|
|||
delete params.listall
|
||||
}
|
||||
|
||||
if (!['Admin', 'DomainAdmin'].includes(this.$store.getters.userInfo.roletype) && ['computeoffering'].includes(this.routeName)) {
|
||||
delete params.state
|
||||
}
|
||||
|
||||
callAPI(this.apiName, params).then(json => {
|
||||
var responseName
|
||||
var objectName
|
||||
|
|
|
|||
Loading…
Reference in New Issue