Skip to content

Commit

Permalink
post merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Apr 2, 2024
1 parent d3095e1 commit 2a677a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/src/components/kubernetes/cluster/Namespace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<TabEntry> = [
{ path: '', label: 'Info' },
Expand Down Expand Up @@ -161,6 +161,7 @@ export function NamespaceInfo(): ReactElement {

export function NamespaceEvents(): ReactElement {
const { name } = useParams()
const columns = useEventsColumns()

return (
<ResourceList<
Expand All @@ -170,7 +171,7 @@ export function NamespaceEvents(): ReactElement {
NamespaceEventsQueryVariables
>
namespaced
columns={COLUMNS}
columns={columns}
query={useNamespaceEventsQuery}
queryOptions={{
variables: { name } as NamespaceEventsQueryVariables,
Expand Down

0 comments on commit 2a677a3

Please sign in to comment.