Przeglądaj źródła

Merge branch 'sean-testing' of https://github.com/porter-dev/porter into beta.3.integration-frontend

jusrhee 5 lat temu
rodzic
commit
6a92b29cbb

+ 1 - 1
dashboard/src/main/home/sidebar/ClusterSection.tsx

@@ -60,7 +60,7 @@ export default class ClusterSection extends Component<PropsType, StateType> {
               setCurrentCluster((localStorage.getItem('currentCluster')) ? 
               setCurrentCluster((localStorage.getItem('currentCluster')) ? 
                 JSON.parse(localStorage.getItem('currentCluster')) : clusters[0]
                 JSON.parse(localStorage.getItem('currentCluster')) : clusters[0]
               );
               );
-            } catch {
+            } catch(err) {
               setCurrentCluster(clusters[0]);
               setCurrentCluster(clusters[0]);
             }
             }
           } else if (this.props.currentView !== 'provisioner') {
           } else if (this.props.currentView !== 'provisioner') {