1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix table header

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-04-07 13:57:28 +03:00
parent 03632626ce
commit 2ada830418

View File

@ -27,7 +27,8 @@ const NonInjectedMutatingWebhookConfigurations = observer((props: Dependencies)
<SiblingsInTabLayout>
<KubeObjectListLayout
isConfigurable
customizeHeader={({ searchProps }) => ({
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 },
{