mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
Show pkg title in notes if manifest exists
This commit is contained in:
committed by
Drew Ansbacher
parent
b64785250f
commit
af55d11ba1
@@ -76,7 +76,9 @@
|
|||||||
<h2>
|
<h2>
|
||||||
<b>
|
<b>
|
||||||
<span *ngIf="not['package-id']"
|
<span *ngIf="not['package-id']"
|
||||||
>{{ not['package-id'] }} -
|
>{{ patch.data['package-data'][not['package-id']] ?
|
||||||
|
patch.data['package-data'][not['package-id']].manifest.title :
|
||||||
|
not['package-id'] }} -
|
||||||
</span>
|
</span>
|
||||||
<ion-text [color]="getColor(not)"> {{ not.title }} </ion-text>
|
<ion-text [color]="getColor(not)"> {{ not.title }} </ion-text>
|
||||||
</b>
|
</b>
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import {
|
|||||||
import { ActivatedRoute } from '@angular/router'
|
import { ActivatedRoute } from '@angular/router'
|
||||||
import { ErrorToastService } from 'src/app/services/error-toast.service'
|
import { ErrorToastService } from 'src/app/services/error-toast.service'
|
||||||
import { BackupReportPage } from 'src/app/modals/backup-report/backup-report.page'
|
import { BackupReportPage } from 'src/app/modals/backup-report/backup-report.page'
|
||||||
|
import { PatchDbService } from 'src/app/services/patch-db/patch-db.service'
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'notifications',
|
selector: 'notifications',
|
||||||
@@ -34,6 +35,7 @@ export class NotificationsPage {
|
|||||||
private readonly modalCtrl: ModalController,
|
private readonly modalCtrl: ModalController,
|
||||||
private readonly errToast: ErrorToastService,
|
private readonly errToast: ErrorToastService,
|
||||||
private readonly route: ActivatedRoute,
|
private readonly route: ActivatedRoute,
|
||||||
|
public readonly patch: PatchDbService,
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
|
|||||||
Reference in New Issue
Block a user