mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Fix filtering of templates by account (#10425)
* fix filtering of templates by account * set filter to Mine when View Templates button is selected
This commit is contained in:
parent
5526ef0168
commit
1f09266764
@ -1159,6 +1159,11 @@ export default {
|
||||
if (item.value) {
|
||||
query[item.param] = this.resource[item.value]
|
||||
} else {
|
||||
if (item.name === 'template') {
|
||||
query.templatefilter = 'self'
|
||||
query.filter = 'self'
|
||||
}
|
||||
|
||||
if (item.param === 'account') {
|
||||
query[item.param] = this.resource.name
|
||||
query.domainid = this.resource.domainid
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user