mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
recalculate updates bad on pkg uninstall
This commit is contained in:
committed by
Aiden McClelland
parent
99019c2b1f
commit
3933819d53
@@ -74,11 +74,10 @@ export class MenuComponent {
|
||||
this.patch.watch$('package-data').pipe(
|
||||
pairwise(),
|
||||
filter(([prev, curr]) =>
|
||||
Object.values(prev).some(
|
||||
p =>
|
||||
p['install-progress'] &&
|
||||
!curr[p.manifest.id]?.['install-progress'],
|
||||
),
|
||||
Object.values(prev).some(p => {
|
||||
const c = curr[p.manifest.id]
|
||||
return !c || (p['install-progress'] && !c['install-progress'])
|
||||
}),
|
||||
),
|
||||
map(([_, curr]) => curr),
|
||||
startWith(outer),
|
||||
|
||||
Reference in New Issue
Block a user