From 26ae9427868a11acba31dedeab282c5f67d4c0dc Mon Sep 17 00:00:00 2001 From: Rpsl Date: Thu, 29 Jul 2021 21:09:00 +0300 Subject: Remove download from "done" when retry it --- ui/src/app/app.component.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index f25bb5e..8b668c6 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -87,6 +87,7 @@ export class AppComponent implements AfterViewInit { retryDownload(key: string, quality:string){ this.addDownload(key, quality); + this.downloads.delById('done', [key]).subscribe(); } delDownload(where: string, id: string) { -- cgit