mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 19:15:31 +00:00
watch the variant prop for pi instances list to properly update the contents of the table w/ burnettk (#1069)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
dbd4d2728c
commit
51b3dc5a35
@ -446,7 +446,15 @@ export default function ProcessInstanceListTableWithFilters({
|
||||
};
|
||||
|
||||
checkFiltersAndRun();
|
||||
}, [filtersEnabled, getReportMetadataWithReportHash, permissionsLoaded]);
|
||||
}, [
|
||||
filtersEnabled,
|
||||
getReportMetadataWithReportHash,
|
||||
permissionsLoaded,
|
||||
|
||||
// watch the variant prop so when switching between the "For Me" and "All" pi list tables
|
||||
// the api call to find the new process instances is made and the report metadata is updated.
|
||||
variant,
|
||||
]);
|
||||
|
||||
const removeFieldFromReportMetadata = (
|
||||
reportMetadataToUse: ReportMetadata,
|
||||
|
Loading…
x
Reference in New Issue
Block a user