Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/4fd01258495411890fa87d564c33265d01b2b064 You should set ROOT_URL correctly, otherwise the web may not work correctly.
pull/1648/head^2
Jamie 8 years ago
parent 005739fe46
commit 4fd0125849

@ -30,7 +30,6 @@ export class SonarrComponent implements OnInit {
private fb: FormBuilder) { }
public ngOnInit() {
this.settingsService.getSonarr()
.subscribe(x => {
this.form = this.fb.group({
@ -103,10 +102,17 @@ export class SonarrComponent implements OnInit {
this.notificationService.error("Please check your entered values");
return;
}
if(form.controls.defaultQualityProfile.value === "-1" || form.controls.defaultRootPath.value === "Please Select") {
this.notificationService.error("Please check your entered values");
return;
if(form.controls.defaultQualityProfile) {
if(form.controls.defaultQualityProfile.value === "-1") {
this.notificationService.error("Please check your entered values");
}
}
if(form.controls.defaultRootPath) {
if(form.controls.defaultRootPath.value === "Please Select") {
this.notificationService.error("Please check your entered values");
}
}
this.settingsService.saveSonarr(form.value)
.subscribe(x => {
if (x) {

Loading…
Cancel
Save