Ivan Galakhov 5 年之前
父節點
當前提交
cc6285fc29
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      dashboard/src/main/home/Home.tsx

+ 0 - 3
dashboard/src/main/home/Home.tsx

@@ -90,9 +90,6 @@ class Home extends Component<PropsType, StateType> {
   };
   };
 
 
   getCapabilities = () => {
   getCapabilities = () => {
-    let { currentProject } = this.props;
-    if (!currentProject) return;
-
     api
     api
       .getCapabilities("<token>", {}, {})
       .getCapabilities("<token>", {}, {})
       .then((res) => {
       .then((res) => {