feat: Make Sonarr optional

This commit is contained in:
Aleksi Lassila
2023-08-15 12:41:46 +03:00
parent b64989c517
commit 0b7956e6b6
4 changed files with 114 additions and 102 deletions

View File

@@ -77,10 +77,10 @@
}
});
} else {
downloadSonarrEpisode(guid).then((res) => {
downloadSonarrEpisode(guid).then((ok) => {
dispatch('download');
downloadFetchingGuid = undefined;
if (res.response?.ok) {
if (ok) {
downloadingGuid = guid;
}
});