diff --git a/src/app/pages/status-page/status-page.html b/src/app/pages/status-page/status-page.html
index d7ddc81..2e64660 100644
--- a/src/app/pages/status-page/status-page.html
+++ b/src/app/pages/status-page/status-page.html
@@ -1 +1,8 @@
+
Web client
+@if(updateFound$ | async){
+
+} @else {
+ You are using the latest version.
+}
+Backend
diff --git a/src/app/pages/status-page/status-page.ts b/src/app/pages/status-page/status-page.ts
index 851f3fe..2788fcc 100644
--- a/src/app/pages/status-page/status-page.ts
+++ b/src/app/pages/status-page/status-page.ts
@@ -1,15 +1,21 @@
import { Component, inject, OnInit } from '@angular/core'
import { HealthStatus } from '../../components/health-status/health-status'
import { TitleService } from '../../services/title-service'
+import { UpdateButton } from '../../components/update-button/update-button'
+import { AppUpdate } from '../../services/app-update'
+import { AsyncPipe } from '@angular/common'
@Component({
selector: 'app-status-page',
- imports: [HealthStatus],
+ imports: [HealthStatus, UpdateButton, AsyncPipe],
templateUrl: './status-page.html',
styleUrl: './status-page.css',
})
export class StatusPage implements OnInit {
private readonly titleService = inject(TitleService)
+ private readonly appUpdates = inject(AppUpdate)
+
+ updateFound$ = this.appUpdates.updateFound
ngOnInit() {
this.titleService.setTitle('User')