1
0
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:
Roman 2021-05-13 16:46:54 +03:00
parent 4cfe3b1521
commit b1ae284b3b

View File

@ -155,10 +155,6 @@ export class Catalog extends React.Component {
}
render() {
if (!this.activeCategory) {
return "";
}
return (
<PageLayout
className="CatalogPage"
@ -166,7 +162,7 @@ export class Catalog extends React.Component {
provideBackButtonNavigation={false}
contentGaps={false}>
<ItemListLayout
renderHeaderTitle={this.activeCategory.metadata.name ?? "Browse All"}
renderHeaderTitle={this.activeCategory?.metadata.name ?? "Browse All"}
isClusterScoped
isSearchable={true}
isSelectable={false}