undo removal of sorting

This commit is contained in:
Aiden McClelland
2025-12-22 12:08:43 -07:00
parent 940feebff7
commit e550c5db91
2 changed files with 6 additions and 4 deletions

View File

@@ -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"
},

View File

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