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 { .cds--tabs .cds--tabs__nav-link {
max-width: 20rem; max-width: 20rem;
} }
.clear-left {
clear: left;
}

View File

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