mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
4cfe3b1521
commit
b1ae284b3b
1 file changed
+1
-5
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user