From 89125cf9fa9ec4c50e347c8981539e6752b4ff9c Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 4 Nov 2026 05:54:51 +0300 Subject: [PATCH] Applications: keep the category filter when a namespace is selected Selecting a namespace switched the category checkboxes off and listed everything in it, so one-off dump, restore and build Jobs (the hidden platform-jobs category) showed as applications in a tenant's namespace, which is where a handoff lands. The namespace now narrows the list and the categories still apply. Agent: Claude Co-Authored-By: Claude Opus 5.5 --- front/src/components/ApplicationFilter.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/front/src/components/ApplicationFilter.vue b/front/src/components/ApplicationFilter.vue index 3a878adda..ea99c5a60 100644 --- a/front/src/components/ApplicationFilter.vue +++ b/front/src/components/ApplicationFilter.vue @@ -158,7 +158,7 @@ export default { return categories; }, categoriesDisabled() { - return !!this.search || !!this.selectedNamespaces.length; + return !!this.search; }, namespaces() { const map = {}; @@ -191,8 +191,12 @@ export default { if (search) { return a.id.includes(search) || (a.type && a.type.name.includes(search)) || (a.cluster && a.cluster.includes(search)); } - if (selectedNamespaces.size) { - return selectedNamespaces.has(this.$utils.appId(a.id).ns); + // Categories apply inside a selected namespace too: a tenant's + // handoff lands on its namespace, where one-off platform Jobs + // (dumps, restores, builds; the hidden platform-jobs category) + // used to list as applications. + if (selectedNamespaces.size && !selectedNamespaces.has(this.$utils.appId(a.id).ns)) { + return false; } return selectedCategories.has(a.category); });