Fix strings to refer to the correct app

pull/4022/head
Jack Steel 4 years ago
parent a58a2a418e
commit c78e4374dd

@ -108,11 +108,11 @@ export class LidarrComponent implements OnInit {
const settings = <ILidarrSettings>form.value;
this.testerService.lidarrTest(settings).subscribe(result => {
if (result.isValid) {
this.notificationService.success("Successfully connected to Sonarr!");
this.notificationService.success("Successfully connected to Lidarr!");
} else if (result.expectedSubDir !== null) {
this.notificationService.error("Your Sonarr Base URL must be set to " + result.expectedSubDir);
this.notificationService.error("Your Lidarr Base URL must be set to " + result.expectedSubDir);
} else {
this.notificationService.error("We could not connect to Sonarr!");
this.notificationService.error("We could not connect to Lidarr!");
}
});
}

@ -98,11 +98,11 @@ export class RadarrComponent implements OnInit {
const settings = <IRadarrSettings> form.value;
this.testerService.radarrTest(settings).subscribe(result => {
if (result.isValid) {
this.notificationService.success("Successfully connected to Sonarr!");
this.notificationService.success("Successfully connected to Radarr!");
} else if (result.expectedSubDir !== null) {
this.notificationService.error("Your Sonarr Base URL must be set to " + result.expectedSubDir);
this.notificationService.error("Your Radarr Base URL must be set to " + result.expectedSubDir);
} else {
this.notificationService.error("We could not connect to Sonarr!");
this.notificationService.error("We could not connect to Radarr!");
}
});
}

Loading…
Cancel
Save