activate filter button for status change as well and do not hide table when changing filters but do show help text w/ burnettk
This commit is contained in:
parent
1b485932b9
commit
7696ae8efe
|
@ -683,6 +683,7 @@ export default function ProcessInstanceListTable({
|
||||||
items={processStatusAllOptions}
|
items={processStatusAllOptions}
|
||||||
onChange={(selection: any) => {
|
onChange={(selection: any) => {
|
||||||
setProcessStatusSelection(selection.selectedItems);
|
setProcessStatusSelection(selection.selectedItems);
|
||||||
|
setRequiresRefilter(true);
|
||||||
}}
|
}}
|
||||||
itemToString={(item: any) => {
|
itemToString={(item: any) => {
|
||||||
return item || '';
|
return item || '';
|
||||||
|
@ -1450,14 +1451,18 @@ export default function ProcessInstanceListTable({
|
||||||
// eslint-disable-next-line prefer-destructuring
|
// eslint-disable-next-line prefer-destructuring
|
||||||
perPage = perPageOptions[1];
|
perPage = perPageOptions[1];
|
||||||
}
|
}
|
||||||
let resultsTable = (
|
let refilterTextComponent = null;
|
||||||
<h2>
|
if (requiresRefilter) {
|
||||||
Please press the filter button when you have completed updating the
|
refilterTextComponent = (
|
||||||
filters.
|
<h2>
|
||||||
</h2>
|
Please press the filter button when you have completed updating the
|
||||||
);
|
filters.
|
||||||
if (!requiresRefilter) {
|
</h2>
|
||||||
resultsTable = (
|
);
|
||||||
|
}
|
||||||
|
const resultsTable = (
|
||||||
|
<>
|
||||||
|
{refilterTextComponent}
|
||||||
<PaginationForTable
|
<PaginationForTable
|
||||||
page={page}
|
page={page}
|
||||||
perPage={perPage}
|
perPage={perPage}
|
||||||
|
@ -1467,8 +1472,8 @@ export default function ProcessInstanceListTable({
|
||||||
perPageOptions={perPageOptions}
|
perPageOptions={perPageOptions}
|
||||||
paginationClassName={paginationClassName}
|
paginationClassName={paginationClassName}
|
||||||
/>
|
/>
|
||||||
);
|
</>
|
||||||
}
|
);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{reportColumnForm()}
|
{reportColumnForm()}
|
||||||
|
|
Loading…
Reference in New Issue