enhance playlist addition cancellation and improve error handling UI

This commit is contained in:
Alex Shnitman
2026-03-02 20:21:04 +02:00
parent 880eda8435
commit 58c317f7cd
4 changed files with 78 additions and 32 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ export class DownloadsService {
return Array.from(this.queue.values()).map(download => download.url);
}
public cancelAdd() {
return this.http.post<any>('cancel-add', {}).pipe(
return this.http.post<Status>('cancel-add', {}).pipe(
catchError(this.handleHTTPError)
);
}