mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
bring back startup alerts
This commit is contained in:
committed by
Aiden McClelland
parent
48632271d5
commit
301a19d644
@@ -1,5 +1,5 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core'
|
||||
import { NotificationLevel, ServerNotification } from '../services/api/api-types'
|
||||
import { NotificationLevel, ServerNotification } from '../services/api/api.types'
|
||||
|
||||
@Pipe({
|
||||
name: 'notificationColor',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core'
|
||||
import { combineLatest, Observable } from 'rxjs'
|
||||
import { map } from 'rxjs/operators'
|
||||
import { PatchDbModel } from '../services/patch-db/patch-db.service'
|
||||
import { PatchDbService } from '../services/patch-db/patch-db.service'
|
||||
import { FEStatus, renderPkgStatus } from '../services/pkg-status-rendering.service'
|
||||
|
||||
@Pipe({
|
||||
@@ -10,7 +10,7 @@ import { FEStatus, renderPkgStatus } from '../services/pkg-status-rendering.serv
|
||||
export class StatusPipe implements PipeTransform {
|
||||
|
||||
constructor (
|
||||
private readonly patch: PatchDbModel,
|
||||
private readonly patch: PatchDbService,
|
||||
) { }
|
||||
|
||||
transform (pkgId: string): Observable<FEStatus> {
|
||||
|
||||
Reference in New Issue
Block a user