瀏覽代碼

Remove Multi Cluster (#2869)

Co-authored-by: Soham Dessai <sohamdessai@sohams-mbp.mynetworksettings.com>
sdess09 3 年之前
父節點
當前提交
c10b923027
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      dashboard/src/main/home/dashboard/ClusterSection.tsx

+ 5 - 5
dashboard/src/main/home/dashboard/ClusterSection.tsx

@@ -93,11 +93,11 @@ const ClusterSection = (props: Props) => {
   }
   return (
     <>
-      {/* {(usage?.current.cluster > 1 || !currentCluster) && ( */}
-      <Button onClick={() => setCurrentStep("cloud")}>
-        <i className="material-icons">add</i> Create a cluster
-      </Button>
-      {/* )} */}
+      {(usage?.current.cluster > 1 || !currentCluster) && (
+        <Button onClick={() => setCurrentStep("cloud")}>
+          <i className="material-icons">add</i> Create a cluster
+        </Button>
+      )}
       <ClusterList />
     </>
   );