mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
ui: emver rendering in OS banner
This commit is contained in:
committed by
Aiden McClelland
parent
b9a3a0cb8d
commit
234fc06f76
@@ -1,5 +1,5 @@
|
||||
<ion-item button lines="none" *ngIf="updateAvailable$ | async as version" (click)="confirmUpdate(version)">
|
||||
<ion-label>
|
||||
New Embassy OS Version {{version}} Available!
|
||||
New Embassy OS Version {{version | displayEmver}} Available!
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
@@ -2,6 +2,7 @@ import { NgModule } from '@angular/core'
|
||||
import { CommonModule } from '@angular/common'
|
||||
import { UpdateOsBannerComponent } from './update-os-banner.component'
|
||||
import { IonicModule } from '@ionic/angular'
|
||||
import { SharingModule } from 'src/app/modules/sharing.module'
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@@ -10,6 +11,7 @@ import { IonicModule } from '@ionic/angular'
|
||||
imports: [
|
||||
CommonModule,
|
||||
IonicModule,
|
||||
SharingModule,
|
||||
],
|
||||
exports: [UpdateOsBannerComponent],
|
||||
})
|
||||
|
||||
@@ -424,7 +424,7 @@ const mockApiServer: () => ReqRes.GetServerRes = () => ({
|
||||
})
|
||||
|
||||
const mockVersionLatest: ReqRes.GetVersionLatestRes = {
|
||||
versionLatest: '15.2.8',
|
||||
versionLatest: '15.2.8.6',
|
||||
canUpdate: true,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user