mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix captitalization in CrdResources component
- Title should just be .spec.names.kind like the sidebar - Searching should just be .spec.names.plural Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
1f42a5148e
commit
4440af966b
@ -89,11 +89,11 @@ export class CrdResources extends React.Component<Props> {
|
||||
searchFilters={[
|
||||
item => item.getSearchFields(),
|
||||
]}
|
||||
renderHeaderTitle={crd.getResourceTitle()}
|
||||
renderHeaderTitle={crd.getResourceKind()}
|
||||
customizeHeader={({ searchProps, ...headerPlaceholders }) => ({
|
||||
searchProps: {
|
||||
...searchProps,
|
||||
placeholder: `Search ${crd.getResourceTitle()}...`,
|
||||
placeholder: `Search ${crd.getNames().plural}...`,
|
||||
},
|
||||
...headerPlaceholders
|
||||
})}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user