mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
replace bang with question mark in html (#1683)
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<h2>
|
||||
<b>
|
||||
<span *ngIf="not['package-id'] as pkgId">
|
||||
{{ packageData[pkgId]?.manifest!.title || pkgId }} -
|
||||
{{ packageData[pkgId]?.manifest?.title || pkgId }} -
|
||||
</span>
|
||||
<ion-text [color]="getColor(not)"> {{ not.title }} </ion-text>
|
||||
</b>
|
||||
@@ -112,7 +112,7 @@
|
||||
View Report
|
||||
</ion-button>
|
||||
<ion-button
|
||||
*ngIf="not['package-id']"
|
||||
*ngIf="not['package-id'] && packageData[not['package-id']]"
|
||||
slot="end"
|
||||
fill="clear"
|
||||
color="dark"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { PackageDataEntry } from '../services/patch-db/data-model'
|
||||
|
||||
export function hasCurrentDeps(pkg: PackageDataEntry): boolean {
|
||||
return !!Object.keys(pkg.installed?.['current-dependents'] || {})
|
||||
// @TODO fix Manifest type
|
||||
.filter(depId => depId !== (pkg.manifest as any).id).length
|
||||
return !!Object.keys(pkg.installed?.['current-dependents'] || {}).filter(
|
||||
depId => depId !== pkg.manifest.id,
|
||||
).length
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user