mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Fix torbox garbage
This commit is contained in:
parent
ce76ed1bfb
commit
fa9b6f0d38
1 changed files with 4 additions and 1 deletions
|
@ -170,10 +170,13 @@ export function DownloadSettingsModal({
|
||||||
(downloader === Downloader.RealDebrid &&
|
(downloader === Downloader.RealDebrid &&
|
||||||
!userPreferences?.realDebridApiToken) ||
|
!userPreferences?.realDebridApiToken) ||
|
||||||
(downloader === Downloader.AllDebrid &&
|
(downloader === Downloader.AllDebrid &&
|
||||||
!userPreferences?.allDebridApiKey)
|
!userPreferences?.allDebridApiKey) ||
|
||||||
|
(downloader === Downloader.TorBox &&
|
||||||
|
!userPreferences?.torBoxApiToken)
|
||||||
}
|
}
|
||||||
onClick={() => setSelectedDownloader(downloader)}
|
onClick={() => setSelectedDownloader(downloader)}
|
||||||
>
|
>
|
||||||
|
|
||||||
{selectedDownloader === downloader && (
|
{selectedDownloader === downloader && (
|
||||||
<CheckCircleFillIcon className="download-settings-modal__downloader-icon" />
|
<CheckCircleFillIcon className="download-settings-modal__downloader-icon" />
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue