feat: adding button to clear selected filters

This commit is contained in:
Chubby Granny Chaser
2024-12-20 22:40:41 +00:00
parent b28d34cf66
commit f37b92261f
3 changed files with 40 additions and 6 deletions

View File

@@ -5,9 +5,13 @@ const putDownloadSource = async (
_event: Electron.IpcMainInvokeEvent,
objectIds: string[]
) => {
return HydraApi.put<{ fingerprint: string }>("/download-sources", {
objectIds,
});
return HydraApi.put<{ fingerprint: string }>(
"/download-sources",
{
objectIds,
},
{ needsAuth: false }
);
};
registerEvent("putDownloadSource", putDownloadSource);