From 1ed415d7333564a39b7546feb7085497f02522f0 Mon Sep 17 00:00:00 2001 From: Isaac Grynsztein Date: Wed, 25 Mar 2020 04:16:11 -0400 Subject: [PATCH] Fixed bug where if using download-only mode, downloading additonal videos would be blocked --- src/app/main/main.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/main/main.component.ts b/src/app/main/main.component.ts index a45717a..aa2133e 100644 --- a/src/app/main/main.component.ts +++ b/src/app/main/main.component.ts @@ -691,6 +691,9 @@ export class MainComponent implements OnInit { } removeDownloadFromCurrentDownloads(download_to_remove) { + if (this.current_download === download_to_remove) { + this.current_download = null; + } const index = this.downloads.indexOf(download_to_remove); if (index !== -1) { this.downloads.splice(index, 1);