From a996c54f68968712e95b08f09c177c73f1af5ec2 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Thu, 15 Jun 2023 19:33:44 +0200 Subject: [PATCH] catalog-react: fix EntityNamespaceFilter Signed-off-by: Vincenzo Scamporlino --- plugins/catalog-react/src/filters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-react/src/filters.ts b/plugins/catalog-react/src/filters.ts index d6bd8eee3f..b94b538802 100644 --- a/plugins/catalog-react/src/filters.ts +++ b/plugins/catalog-react/src/filters.ts @@ -189,7 +189,7 @@ export class EntityNamespaceFilter implements EntityFilter { constructor(readonly values: string[]) {} getCatalogFilters(): Record { - return { 'spec.lifecycle': this.values }; + return { 'metadata.namespace': this.values }; } filterEntity(entity: Entity): boolean { return this.values.some(v => entity.metadata.namespace === v);