mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
Remove app wiz and dry calls (#1541)
* no more app wiz or dry calls * change spinner type * better display for update available * reintroduce dep breakages for update/downgrade and style alerts everywhere * only show install alert on first install Co-authored-by: Matt Hill <matthill@Matt-M1.local> Co-authored-by: Matt Hill <matthill@Matt-M1.start9.dev>
This commit is contained in:
7
frontend/projects/ui/src/app/util/has-deps.ts
Normal file
7
frontend/projects/ui/src/app/util/has-deps.ts
Normal file
@@ -0,0 +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
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
race,
|
||||
OperatorFunction,
|
||||
Observer,
|
||||
combineLatest,
|
||||
} from 'rxjs'
|
||||
import { take, map } from 'rxjs/operators'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user