fix(downloads): not updating automatically (#3412)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-06-17 18:24:36 +02:00
1 parent 6bcfe78956
commit b5ef7e5194
1 file changed
+5 -2
+5 -2
View File
@@ -131,7 +131,9 @@ export default function DownloadClientsWidget({
},
{
onData: (data) => {
utils.widget.downloads.getJobsAndStatuses.setData({ integrationIds }, (prevData) => {
utils.widget.downloads.getJobsAndStatuses.setData(
{ integrationIds, limitPerIntegration: options.limitPerIntegration },
(prevData) => {
return prevData?.map((item) => {
if (item.integration.id !== data.integration.id) return item;
@@ -143,7 +145,8 @@ export default function DownloadClientsWidget({
},
};
});
});
},
);
},
},
);