aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorRpsl <gmail@rpsl.info>2021-07-29 21:09:00 +0300
committerRpsl <gmail@rpsl.info>2021-07-29 21:09:00 +0300
commit26ae9427868a11acba31dedeab282c5f67d4c0dc (patch)
tree90621657d7da91cd1db644cbdcbb527639c2e703 /ui
parentAdded retry button for failed download (diff)
downloadmetube-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.ts1
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) {
bgstack15