recalculate updates bad on pkg uninstall

This commit is contained in:
Matt Hill
2023-03-20 14:42:57 -06:00
committed by Aiden McClelland
parent 99019c2b1f
commit 3933819d53

View File

@@ -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),