diff --git a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx index 8f91f7cf..184f0c6e 100644 --- a/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessModelShow.tsx @@ -13,6 +13,12 @@ import { ButtonSet, Modal, FileUploader, + Table, + TableHead, + TableHeader, + TableRow, + TableCell, + TableBody, // @ts-ignore } from '@carbon/react'; import ProcessBreadcrumb from '../components/ProcessBreadcrumb'; @@ -167,38 +173,61 @@ export default function ProcessModelShow() { primarySuffix = '- Primary File'; } constructedTag = ( -
  • - - {processModelFile.name} - - {primarySuffix} -
  • + + + + {processModelFile.name} + + {primarySuffix} + + ); } else if (processModelFile.name.match(/\.(json|md)$/)) { constructedTag = ( -
  • - - {processModelFile.name} - -
  • + + + + {processModelFile.name} + + + ); } else { constructedTag = ( -
  • {processModelFile.name}
  • + + + {processModelFile.name} + + ); } return constructedTag; }); - return ; + // return ; + const headers = ['name', 'Actions']; + return ( + + + + {headers.map((header) => ( + + {header} + + ))} + + + {tags} +
    + ); }; const processInstancesUl = () => {