i cant figure that shit out so take it out

This commit is contained in:
mircea32000 2025-02-10 22:45:41 +02:00
parent 897e2c3193
commit ce76ed1bfb
2 changed files with 20 additions and 1 deletions

View file

@ -227,7 +227,8 @@
"seeding": "Seeding",
"stop_seeding": "Stop seeding",
"resume_seeding": "Resume seeding",
"options": "Manage"
"options": "Manage",
"alldebrid_size_not_supported": "Download info for AllDebrid is not supported yet"
},
"settings": {
"downloads_path": "Downloads path",

View file

@ -112,6 +112,15 @@ export function DownloadGroup({
);
}
if (download.downloader === Downloader.AllDebrid) {
return (
<>
<p>{progress}</p>
<p>{t("alldebrid_size_not_supported")}</p>
</>
);
}
return (
<>
<p>{progress}</p>
@ -154,6 +163,15 @@ export function DownloadGroup({
}
if (download.status === "active") {
if (download.downloader === Downloader.AllDebrid) {
return (
<>
<p>{formatDownloadProgress(download.progress)}</p>
<p>{t("alldebrid_size_not_supported")}</p>
</>
);
}
return (
<>
<p>{formatDownloadProgress(download.progress)}</p>