Sean Rhee 5 vuotta sitten
vanhempi
sitoutus
f644a0553b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dashboard/src/main/home/sidebar/ClusterSection.tsx

+ 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')) ? 
                 JSON.parse(localStorage.getItem('currentCluster')) : clusters[0]
               );
-            } catch {
+            } catch(err) {
               setCurrentCluster(clusters[0]);
             }
           } else if (this.props.currentView !== 'provisioner') {