Columns should not be removed on reset, but any filters applied to those columns should be removed.
This commit is contained in:
parent
34083f437d
commit
738a2e0078
|
@ -704,11 +704,8 @@ export default function ProcessInstanceListTable({
|
||||||
setEndToTime('');
|
setEndToTime('');
|
||||||
setProcessInitiatorSelection(null);
|
setProcessInitiatorSelection(null);
|
||||||
setProcessInitiatorText('');
|
setProcessInitiatorText('');
|
||||||
|
|
||||||
if (reportMetadata) {
|
if (reportMetadata) {
|
||||||
reportMetadata.columns = reportMetadata.columns.filter(
|
reportMetadata.filter_by = [];
|
||||||
(column) => !column.filterable
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue