Fix retry button issues

The arguments passed to retryDownload by the retry button do not match what the function actually expects. This causes downloads to break if a custom folder is set and also causes some settings like format and custom name prefix to be ignored.
This commit is contained in:
James Lyne
2023-08-13 12:24:19 +01:00
parent 8950665f06
commit 262e296783
3 changed files with 11 additions and 9 deletions

View File

@@ -12,15 +12,17 @@ export interface Status {
export interface Download {
id: string;
title: string;
url: string,
url: string;
quality: string;
format: string;
folder: string;
custom_name_prefix: string;
status: string;
msg: string;
filename: string;
folder: string;
quality: string;
percent: number;
speed: number;
eta: number;
filename: string;
checked?: boolean;
deleting?: boolean;
}