-
+
diff --git a/src/Ombi/ClientApp/app/settings/sonarr/sonarr.component.ts b/src/Ombi/ClientApp/app/settings/sonarr/sonarr.component.ts
index ee2438f1b..11845a06e 100644
--- a/src/Ombi/ClientApp/app/settings/sonarr/sonarr.component.ts
+++ b/src/Ombi/ClientApp/app/settings/sonarr/sonarr.component.ts
@@ -51,7 +51,7 @@ export class SonarrComponent implements OnInit {
addOnly: [x.addOnly],
seasonFolders: [x.seasonFolders],
v3: [x.v3],
- langaugeProfile: [x.languageProfile],
+ languageProfile: [x.languageProfile],
});
if (x.qualityProfile) {
@@ -63,6 +63,9 @@ export class SonarrComponent implements OnInit {
if(x.languageProfile) {
this.getLanguageProfiles(this.form);
}
+ if(x.v3) {
+ this.form.controls.languageProfile.setValidators([Validators.required]);
+ }
});
this.rootFolders = [];
this.qualities = [];
diff --git a/src/Ombi/ClientApp/styles/Styles.scss b/src/Ombi/ClientApp/styles/Styles.scss
index b41e1c2a7..d98e4cf83 100644
--- a/src/Ombi/ClientApp/styles/Styles.scss
+++ b/src/Ombi/ClientApp/styles/Styles.scss
@@ -27,4 +27,4 @@ $bg-colour-disabled: #252424;
.label {
margin: 3px;
-}
\ No newline at end of file
+}