From 7f3f1042959a68594353c66c55f30c0fe9bf613b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20De=20Marco=20Gon=C3=A7alves?= Date: Tue, 25 Mar 2025 07:27:13 -0300 Subject: [PATCH] add UI support for filtering ISOs by account (#10488) --- ui/src/components/view/InfoCard.vue | 3 +++ ui/src/config/section/account.js | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index d8b37e3c6e4..6ecf4885ce5 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -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') { diff --git a/ui/src/config/section/account.js b/ui/src/config/section/account.js index 21996167705..b5e962752f8 100644 --- a/ui/src/config/section/account.js +++ b/ui/src/config/section/account.js @@ -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']