mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
!wip fixed it always saying there is an update #1513
This commit is contained in:
parent
f9a267ac59
commit
5f978abf86
1 changed files with 3 additions and 1 deletions
|
@ -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!")
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue