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

Fix cluster name prop

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-08-31 10:45:31 +03:00
parent 7b5e76322f
commit ccb79cdf95

View File

@ -184,7 +184,7 @@ export class Sidebar extends React.Component<Props> {
return (
<div className={cssNames(Sidebar.displayName, "flex column", className)}>
<div className="cluster-name">
{ClusterStore.getInstance().getById(App.clusterId).preferences.clusterName}
{ClusterStore.getInstance().getById(App.clusterId)?.name}
</div>
<div className={cssNames("sidebar-nav flex column box grow-fixed")}>
<SidebarItem