Remove download from "done" when retry it
This commit is contained in:
parent
fffba9065a
commit
26ae942786
|
|
@ -87,6 +87,7 @@ export class AppComponent implements AfterViewInit {
|
||||||
|
|
||||||
retryDownload(key: string, quality:string){
|
retryDownload(key: string, quality:string){
|
||||||
this.addDownload(key, quality);
|
this.addDownload(key, quality);
|
||||||
|
this.downloads.delById('done', [key]).subscribe();
|
||||||
}
|
}
|
||||||
|
|
||||||
delDownload(where: string, id: string) {
|
delDownload(where: string, id: string) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue