From e550c5db91063997b06eb0f4aece72134613c877 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Mon, 22 Dec 2025 12:08:43 -0700 Subject: [PATCH] undo removal of sorting --- web/patchdb-ui-seed.beta.json | 2 ++ web/projects/ui/src/app/services/marketplace.service.ts | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/patchdb-ui-seed.beta.json b/web/patchdb-ui-seed.beta.json index 8e95fffc5..6453709df 100644 --- a/web/patchdb-ui-seed.beta.json +++ b/web/patchdb-ui-seed.beta.json @@ -1,6 +1,8 @@ { "name": null, "registries": { + "https://registry.start9.com/": "Start9 Registry", + "https://community-registry.start9.com/": "Community Registry", "https://beta-registry.start9.com/": "Start9 Beta Registry", "https://community-beta-registry.start9.com/": "Community Beta Registry" }, diff --git a/web/projects/ui/src/app/services/marketplace.service.ts b/web/projects/ui/src/app/services/marketplace.service.ts index 5f1e7ccdd..c0d5f04ea 100644 --- a/web/projects/ui/src/app/services/marketplace.service.ts +++ b/web/projects/ui/src/app/services/marketplace.service.ts @@ -32,7 +32,7 @@ import { RR } from 'src/app/services/api/api.types' import { ApiService } from 'src/app/services/api/embassy-api.service' import { DataModel } from 'src/app/services/patch-db/data-model' -// const { start9, community } = defaultRegistries +const { start9, community } = defaultRegistries @Injectable({ providedIn: 'root', @@ -46,10 +46,10 @@ export class MarketplaceService { .watch$('ui', 'registries') .pipe( map(registries => [ - // toStoreIdentity(start9, registries[start9]), - // toStoreIdentity(community, registries[community]), + toStoreIdentity(start9, registries[start9]), + toStoreIdentity(community, registries[community]), ...Object.entries(registries) - // .filter(([u, _]) => !sameUrl(start9, u) && !sameUrl(community, u)) + .filter(([u, _]) => !sameUrl(start9, u) && !sameUrl(community, u)) .map(([url, name]) => toStoreIdentity(url, name)), ]), )