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') {
|
if (item.name === 'template') {
|
||||||
query.templatefilter = 'self'
|
query.templatefilter = 'self'
|
||||||
query.filter = 'self'
|
query.filter = 'self'
|
||||||
|
} else if (item.name === 'iso') {
|
||||||
|
query.isofilter = 'self'
|
||||||
|
query.filter = 'self'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.param === 'account') {
|
if (item.param === 'account') {
|
||||||
|
|||||||
@ -61,6 +61,10 @@ export default {
|
|||||||
name: 'template',
|
name: 'template',
|
||||||
title: 'label.templates',
|
title: 'label.templates',
|
||||||
param: 'account'
|
param: 'account'
|
||||||
|
}, {
|
||||||
|
name: 'iso',
|
||||||
|
title: 'label.isos',
|
||||||
|
param: 'account'
|
||||||
}],
|
}],
|
||||||
filters: () => {
|
filters: () => {
|
||||||
const filters = ['enabled', 'disabled', 'locked']
|
const filters = ['enabled', 'disabled', 'locked']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user