From 2ada8304182be8ce53ff0678c4634a3093547394 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Fri, 7 Apr 2023 13:57:28 +0300 Subject: [PATCH] Fix table header Signed-off-by: Alex Andreev --- .../mutating-webhook-configurations.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/src/renderer/components/+config-mutating-webhook-configurations/mutating-webhook-configurations.tsx b/packages/core/src/renderer/components/+config-mutating-webhook-configurations/mutating-webhook-configurations.tsx index 62ac617a5f..5d3a4b51a3 100644 --- a/packages/core/src/renderer/components/+config-mutating-webhook-configurations/mutating-webhook-configurations.tsx +++ b/packages/core/src/renderer/components/+config-mutating-webhook-configurations/mutating-webhook-configurations.tsx @@ -27,7 +27,8 @@ const NonInjectedMutatingWebhookConfigurations = observer((props: Dependencies) ({ + customizeHeader={({ searchProps, ...rest }) => ({ + ...rest, searchProps: { ...searchProps, placeholder: "Search...", @@ -45,7 +46,7 @@ const NonInjectedMutatingWebhookConfigurations = observer((props: Dependencies) item => item.getSearchFields(), item => item.getLabels(), ]} - renderHeaderTitle="Mutating Webhook Configurations" + renderHeaderTitle="Mutating Webhook Configs" renderTableHeader={[ { title: "Name", className: "name", sortBy: columnId.name, id: columnId.name }, {