mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
add UI support for filtering ISOs by account (#10488)
This commit is contained in:
parent
8a338ea12c
commit
7f3f104295
@ -1211,6 +1211,9 @@ export default {
|
||||
if (item.name === 'template') {
|
||||
query.templatefilter = 'self'
|
||||
query.filter = 'self'
|
||||
} else if (item.name === 'iso') {
|
||||
query.isofilter = 'self'
|
||||
query.filter = 'self'
|
||||
}
|
||||
|
||||
if (item.param === 'account') {
|
||||
|
||||
@ -61,6 +61,10 @@ export default {
|
||||
name: 'template',
|
||||
title: 'label.templates',
|
||||
param: 'account'
|
||||
}, {
|
||||
name: 'iso',
|
||||
title: 'label.isos',
|
||||
param: 'account'
|
||||
}],
|
||||
filters: () => {
|
||||
const filters = ['enabled', 'disabled', 'locked']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user