Browse Source

fix project switch

Justin Rhee 3 years ago
parent
commit
029d78b303
1 changed files with 0 additions and 2 deletions
  1. 0 2
      dashboard/src/main/home/sidebar/Sidebar.tsx

+ 0 - 2
dashboard/src/main/home/sidebar/Sidebar.tsx

@@ -148,7 +148,6 @@ class Sidebar extends Component<PropsType, StateType> {
 
 
           <br />
           <br />
 
 
-          {currentCluster && (
             <>
             <>
               <SidebarLabel>
               <SidebarLabel>
                 {currentProject.capi_provisioner_enabled ? (
                 {currentProject.capi_provisioner_enabled ? (
@@ -165,7 +164,6 @@ class Sidebar extends Component<PropsType, StateType> {
                 setRefreshClusters={this.props.setRefreshClusters}
                 setRefreshClusters={this.props.setRefreshClusters}
               />
               />
             </>
             </>
-          )}
         </ScrollWrapper>
         </ScrollWrapper>
       );
       );
     }
     }