Fixed bug where if using download-only mode, downloading additonal videos would be blocked

pull/45/head
Isaac Grynsztein 6 years ago
parent 1808281b50
commit 1ed415d733

@ -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);

Loading…
Cancel
Save