diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index e069f18a..d2230bd9 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx @@ -98,6 +98,7 @@ type OwnProps = { showActionsColumn?: boolean; showLinkToReport?: boolean; headerElement?: React.ReactElement; + tableHtmlId?: string; }; interface dateParameters { @@ -119,6 +120,7 @@ export default function ProcessInstanceListTable({ showActionsColumn = false, showLinkToReport = false, headerElement, + tableHtmlId, }: OwnProps) { let processInstanceApiSearchPath = '/process-instances/for-me'; if (variant === 'all') { @@ -1648,8 +1650,14 @@ export default function ProcessInstanceListTable({ ); }); + let tableProps: any = { size: 'lg' }; + if (tableHtmlId) { + tableProps = { ...tableProps, id: tableHtmlId }; + } + return ( -