Some small fixed !wip

pull/1676/head
Jamie 7 years ago
parent 8254e178af
commit aa24ba4054

@ -74,8 +74,7 @@ export class MovieSearchComponent implements OnInit {
this.result = x; this.result = x;
if (this.result.result) { if (this.result.result) {
this.translate.get("Search.RequestAdded", { title: searchResult.title }).subscribe(x => {
this.translate.get("Search.RequestAdded", searchResult.title).subscribe(x => {
this.notificationService.success(x); this.notificationService.success(x);
searchResult.processed = true; searchResult.processed = true;
}); });

@ -73,7 +73,7 @@ export class SlackComponent implements OnInit {
} }
this.testerService.slackTest(settings).subscribe(x => { this.testerService.slackTest(settings).subscribe(x => {
if (x) { if (x) {
this.notificationService.success( "Successfully sent a Slack message, please check the discord channel"); this.notificationService.success( "Successfully sent a Slack message, please check the slack channel");
} else { } else {
this.notificationService.error("There was an error when sending the Slack message. Please check your settings"); this.notificationService.error("There was an error when sending the Slack message. Please check your settings");
} }

Loading…
Cancel
Save