stop refreshing homepage if unauthorized to metadata

This commit is contained in:
jasquat 2023-05-31 09:42:20 -04:00
parent aac0841617
commit 375e6febe9
1 changed files with 2 additions and 0 deletions

View File

@ -490,6 +490,7 @@ export default function ProcessInstanceListTable({
HttpService.makeCallToBackend({
path: `/process-instances/report-metadata${queryParamString}`,
successCallback: getProcessInstances,
onUnauthorized: stopRefreshing,
});
} else {
getProcessInstances();
@ -542,6 +543,7 @@ export default function ProcessInstanceListTable({
permissionsLoaded,
reportIdentifier,
searchParams,
stopRefreshing,
]);
const processInstanceReportSaveTag = () => {