mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-02 05:23:14 +00:00
update patch types for current dependencies
This commit is contained in:
@@ -44,8 +44,8 @@ export class UpdatesPage {
|
||||
marketplace: this.marketplaceService.getMarketplace$(),
|
||||
localPkgs: this.patch.watch$('packageData').pipe(
|
||||
map(pkgs =>
|
||||
Object.values(pkgs).reduce((acc, curr) => {
|
||||
if (isInstalled(curr) || isUpdating(curr)) return { ...acc, curr }
|
||||
Object.entries(pkgs).reduce((acc, [id, val]) => {
|
||||
if (isInstalled(val) || isUpdating(val)) return { ...acc, [id]: val }
|
||||
return acc
|
||||
}, {} as Record<string, PackageDataEntry<InstalledState | UpdatingState>>),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user