use tiles for process models w/ burnettk cullerton

This commit is contained in:
jasquat 2022-11-22 15:09:42 -05:00
parent 77009482cc
commit ef9628d6a5
2 changed files with 10 additions and 6 deletions

View File

@ -252,3 +252,7 @@ in on this with the react-jsonschema-form repo. This is just a patch fix to allo
.cds--tabs .cds--tabs__nav-link {
max-width: 20rem;
}
.clear-left {
clear: left;
}

View File

@ -31,7 +31,7 @@ import { useUriListForPermissions } from '../hooks/UriListForPermissions';
import { usePermissionFetcher } from '../hooks/PermissionService';
import ProcessGroupListTiles from '../components/ProcessGroupListTiles';
import ButtonWithConfirmation from '../components/ButtonWithConfirmation';
// import ProcessModelListTiles from '../components/ProcessModelListTiles';
import ProcessModelListTiles from '../components/ProcessModelListTiles';
export default function ProcessGroupShow() {
const params = useParams();
@ -193,24 +193,24 @@ export default function ProcessGroupShow() {
</Stack>
<br />
<br />
{/* <ProcessModelListTiles
<ProcessModelListTiles
headerElement={<h2>Process Models</h2>}
processGroup={processGroup}
/> */}
/>
{/* eslint-disable-next-line sonarjs/no-gratuitous-expressions */}
{modelPagination && modelPagination.total > 0 && (
{/* {modelPagination && modelPagination.total > 0 && (
<PaginationForTable
page={page}
perPage={perPage}
pagination={modelPagination}
tableToDisplay={buildModelTable()}
/>
)}
)} */}
<br />
<br />
<ProcessGroupListTiles
processGroup={processGroup}
headerElement={<h2>Process Groups</h2>}
headerElement={<h2 className="clear-left">Process Groups</h2>}
/>
</ul>
</>