mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 10:34:17 +00:00
stop refreshing homepage if unauthorized to metadata
This commit is contained in:
parent
aac0841617
commit
375e6febe9
@ -490,6 +490,7 @@ export default function ProcessInstanceListTable({
|
|||||||
HttpService.makeCallToBackend({
|
HttpService.makeCallToBackend({
|
||||||
path: `/process-instances/report-metadata${queryParamString}`,
|
path: `/process-instances/report-metadata${queryParamString}`,
|
||||||
successCallback: getProcessInstances,
|
successCallback: getProcessInstances,
|
||||||
|
onUnauthorized: stopRefreshing,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
getProcessInstances();
|
getProcessInstances();
|
||||||
@ -542,6 +543,7 @@ export default function ProcessInstanceListTable({
|
|||||||
permissionsLoaded,
|
permissionsLoaded,
|
||||||
reportIdentifier,
|
reportIdentifier,
|
||||||
searchParams,
|
searchParams,
|
||||||
|
stopRefreshing,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const processInstanceReportSaveTag = () => {
|
const processInstanceReportSaveTag = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user