bring back startup alerts

This commit is contained in:
Matt Hill
2021-07-14 22:46:30 -06:00
committed by Aiden McClelland
parent 48632271d5
commit 301a19d644
61 changed files with 329 additions and 291 deletions

View File

@@ -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',

View File

@@ -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> {