add UI support for filtering ISOs by account (#10488)

This commit is contained in:
Bernardo De Marco Gonçalves 2025-03-25 07:27:13 -03:00 committed by GitHub
parent 8a338ea12c
commit 7f3f104295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -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') {

View File

@ -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']