mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fix strings to refer to the correct app
This commit is contained in:
parent
a58a2a418e
commit
c78e4374dd
2 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue