mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-27 17:55:04 +00:00
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:
parent
d7e7ee823b
commit
11339f3130
@ -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) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user