mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding button to clear selected filters
This commit is contained in:
parent
b28d34cf66
commit
f37b92261f
3 changed files with 40 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue