From 5f978abf8648c93934b642543fa02c0529fb1033 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Tue, 26 Sep 2017 13:32:03 +0100 Subject: [PATCH] !wip fixed it always saying there is an update #1513 --- src/Ombi/ClientApp/app/settings/update/update.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/app/settings/update/update.component.ts b/src/Ombi/ClientApp/app/settings/update/update.component.ts index aeaa7c0c5..6715785c1 100644 --- a/src/Ombi/ClientApp/app/settings/update/update.component.ts +++ b/src/Ombi/ClientApp/app/settings/update/update.component.ts @@ -29,9 +29,11 @@ export class UpdateComponent implements OnInit { public checkForUpdate() { this.updateService.checkForNewUpdate().subscribe(x => { - if (x) { + if (x === true) { this.updateAvailable = true; this.notificationService.success("Update", "There is a new update available"); + } else { + this.notificationService.success("Update", "You are on the latest version!") } }); }