From aa24ba40543ac75e0d024003ccbc40d2d3400828 Mon Sep 17 00:00:00 2001 From: Jamie Date: Wed, 1 Nov 2017 08:34:37 +0000 Subject: [PATCH] Some small fixed !wip --- src/Ombi/ClientApp/app/search/moviesearch.component.ts | 3 +-- .../ClientApp/app/settings/notifications/slack.component.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Ombi/ClientApp/app/search/moviesearch.component.ts b/src/Ombi/ClientApp/app/search/moviesearch.component.ts index e9261da5a..24eeee82b 100644 --- a/src/Ombi/ClientApp/app/search/moviesearch.component.ts +++ b/src/Ombi/ClientApp/app/search/moviesearch.component.ts @@ -74,8 +74,7 @@ export class MovieSearchComponent implements OnInit { this.result = x; if (this.result.result) { - - this.translate.get("Search.RequestAdded", searchResult.title).subscribe(x => { + this.translate.get("Search.RequestAdded", { title: searchResult.title }).subscribe(x => { this.notificationService.success(x); searchResult.processed = true; }); diff --git a/src/Ombi/ClientApp/app/settings/notifications/slack.component.ts b/src/Ombi/ClientApp/app/settings/notifications/slack.component.ts index f4c727154..e424d8c6a 100644 --- a/src/Ombi/ClientApp/app/settings/notifications/slack.component.ts +++ b/src/Ombi/ClientApp/app/settings/notifications/slack.component.ts @@ -73,7 +73,7 @@ export class SlackComponent implements OnInit { } this.testerService.slackTest(settings).subscribe(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 { this.notificationService.error("There was an error when sending the Slack message. Please check your settings"); }