瀏覽代碼

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

jusrhee 5 年之前
父節點
當前提交
36afc1aca0
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dashboard/src/main/Main.tsx

+ 3 - 0
dashboard/src/main/Main.tsx

@@ -55,6 +55,9 @@ export default class Main extends Component<PropsType, StateType> {
   }
 
   handleLogOut = () => {
+    // Clears local storage for proper rendering of clusters
+    localStorage.clear();
+
     this.context.clearContext();
     this.setState({ isLoggedIn: false, initialized: true });
   }