Skip to content

Commit

Permalink
fix(sonarr): 🐛 Fixed an issue where the language list didn't correctl…
Browse files Browse the repository at this point in the history
…y load for power users in the advanced options #4782
  • Loading branch information
tidusjar committed Oct 22, 2022
1 parent a40ab5c commit 2173670
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -65,11 +65,9 @@ export class AdminRequestDialogComponent implements OnInit {
if (this.data.type === RequestType.tvShow) {
this.sonarrEnabled = await this.sonarrService.isEnabled();
if (this.sonarrEnabled) {
this.settingsService.getSonarr().subscribe((settings: ISonarrSettings) => {
this.sonarrService.getV3LanguageProfiles(settings).subscribe((profiles: ILanguageProfiles[]) => {
this.sonarrLanguageProfiles = profiles;
})
});
this.sonarrService.getV3LanguageProfilesWithoutSettings().subscribe((profiles: ILanguageProfiles[]) => {
this.sonarrLanguageProfiles = profiles;
})
this.sonarrService.getQualityProfilesWithoutSettings().subscribe(c => {
this.sonarrProfiles = c;
});
Expand Down

0 comments on commit 2173670

Please sign in to comment.