From 2a677a317c1620ce4b3646e1e54e81eb09fc47bc Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Tue, 2 Apr 2024 14:31:44 +0200 Subject: [PATCH] post merge fix --- assets/src/components/kubernetes/cluster/Namespace.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/src/components/kubernetes/cluster/Namespace.tsx b/assets/src/components/kubernetes/cluster/Namespace.tsx index ff8ce62681..0128e9f0c5 100644 --- a/assets/src/components/kubernetes/cluster/Namespace.tsx +++ b/assets/src/components/kubernetes/cluster/Namespace.tsx @@ -26,7 +26,7 @@ import { SubTitle } from '../../cluster/nodes/SubTitle' import { getBreadcrumbs } from './Namespaces' import { NamespacePhaseChip } from './utils' -import { COLUMNS } from './Events' +import { useEventsColumns } from './Events' const directory: Array = [ { path: '', label: 'Info' }, @@ -161,6 +161,7 @@ export function NamespaceInfo(): ReactElement { export function NamespaceEvents(): ReactElement { const { name } = useParams() + const columns = useEventsColumns() return ( namespaced - columns={COLUMNS} + columns={columns} query={useNamespaceEventsQuery} queryOptions={{ variables: { name } as NamespaceEventsQueryVariables,