diff --git a/cyclops-ui/src/components/pages/Modules/Modules.tsx b/cyclops-ui/src/components/pages/Modules/Modules.tsx index 1652e9cb..5016d4e6 100644 --- a/cyclops-ui/src/components/pages/Modules/Modules.tsx +++ b/cyclops-ui/src/components/pages/Modules/Modules.tsx @@ -12,6 +12,7 @@ import { Space, Card, Alert, + Empty, } from "antd"; import { useNavigate } from "react-router"; import axios from "axios"; @@ -142,76 +143,82 @@ const Modules = () => { - {filteredData.map((module: any, index) => ( - - - - - - Repo: - - {" " + module.template.repo} - - - - - - Path: - + + + ) : ( + filteredData.map((module: any, index) => ( + + + + + - {" " + module.template.path} - - - - - - Version: {getTemplateVersion(module.template.version)} - - - - - - ))} + Repo: + + {" " + module.template.repo} + + + + + + Path: + + {" " + module.template.path} + + + + + + Version: {getTemplateVersion(module.template.version)} + + + + + + )) + )} );