mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
replace bang with question mark in html (#1683)
This commit is contained in:
@@ -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