mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +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(
|
this.patch.watch$('package-data').pipe(
|
||||||
pairwise(),
|
pairwise(),
|
||||||
filter(([prev, curr]) =>
|
filter(([prev, curr]) =>
|
||||||
Object.values(prev).some(
|
Object.values(prev).some(p => {
|
||||||
p =>
|
const c = curr[p.manifest.id]
|
||||||
p['install-progress'] &&
|
return !c || (p['install-progress'] && !c['install-progress'])
|
||||||
!curr[p.manifest.id]?.['install-progress'],
|
}),
|
||||||
),
|
|
||||||
),
|
),
|
||||||
map(([_, curr]) => curr),
|
map(([_, curr]) => curr),
|
||||||
startWith(outer),
|
startWith(outer),
|
||||||
|
|||||||
Reference in New Issue
Block a user