diff options
author | Rpsl <gmail@rpsl.info> | 2021-07-29 21:09:00 +0300 |
---|---|---|
committer | Rpsl <gmail@rpsl.info> | 2021-07-29 21:09:00 +0300 |
commit | 26ae9427868a11acba31dedeab282c5f67d4c0dc (patch) | |
tree | 90621657d7da91cd1db644cbdcbb527639c2e703 /ui | |
parent | Added retry button for failed download (diff) | |
download | metube-26ae9427868a11acba31dedeab282c5f67d4c0dc.tar.gz metube-26ae9427868a11acba31dedeab282c5f67d4c0dc.tar.bz2 metube-26ae9427868a11acba31dedeab282c5f67d4c0dc.zip |
Remove download from "done" when retry it
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/app/app.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |