From 02c113fb54adbbf503a63af1db5fb98d70624ddc Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Mon, 28 Nov 2022 13:59:38 -0500 Subject: [PATCH] Use current columns --- .../src/components/ProcessInstanceListSaveAsReport.tsx | 6 ++++-- .../src/components/ProcessInstanceListTable.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListSaveAsReport.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListSaveAsReport.tsx index e225d2ffa..b1187e9ed 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListSaveAsReport.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListSaveAsReport.tsx @@ -11,7 +11,7 @@ import HttpService from '../services/HttpService'; type OwnProps = { onSuccess: (..._args: any[]) => any; - columnArray: { Header: string; accessor: string}; + columnArray: { Header: string; accessor: string }; orderBy: string; filterBy: string; buttonText?: string; @@ -79,7 +79,9 @@ export default function ProcessInstanceListSaveAsReport({ onChange={(e) => setIdentifier(e.target.value)} /> - + ); } diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx index fcbe45ade..e98b5978f 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceListTable.tsx @@ -770,7 +770,7 @@ export default function ProcessInstanceListTable({ }; const saveAsReportComponent = () => { - // TODO onSuccess reload/select the new report + // TODO onSuccess reload/select the new report in the report search const callback = (_: any) => {}; return (