remove any filterable columns when doing a "clear" or "reset" on the filter form.

Also clear out the process initiator.
This commit is contained in:
Dan 2023-03-14 14:02:15 -04:00
parent d7e7ee823b
commit 11339f3130

View File

@ -702,6 +702,14 @@ export default function ProcessInstanceListTable({
setEndFromTime(''); setEndFromTime('');
setEndToDate(''); setEndToDate('');
setEndToTime(''); setEndToTime('');
setProcessInitiatorSelection(null);
setProcessInitiatorText('');
if (reportMetadata) {
reportMetadata.columns = reportMetadata.columns.filter(
(column) => !column.filterable
);
}
}; };
const processInstanceReportDidChange = (selection: any, mode?: string) => { const processInstanceReportDidChange = (selection: any, mode?: string) => {