mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix: Catalog -> Browse all tab
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
4cfe3b1521
commit
b1ae284b3b
@ -155,10 +155,6 @@ export class Catalog extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
if (!this.activeCategory) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageLayout
|
<PageLayout
|
||||||
className="CatalogPage"
|
className="CatalogPage"
|
||||||
@ -166,7 +162,7 @@ export class Catalog extends React.Component {
|
|||||||
provideBackButtonNavigation={false}
|
provideBackButtonNavigation={false}
|
||||||
contentGaps={false}>
|
contentGaps={false}>
|
||||||
<ItemListLayout
|
<ItemListLayout
|
||||||
renderHeaderTitle={this.activeCategory.metadata.name ?? "Browse All"}
|
renderHeaderTitle={this.activeCategory?.metadata.name ?? "Browse All"}
|
||||||
isClusterScoped
|
isClusterScoped
|
||||||
isSearchable={true}
|
isSearchable={true}
|
||||||
isSelectable={false}
|
isSelectable={false}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user