mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
undo removal of sorting
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": null,
|
"name": null,
|
||||||
"registries": {
|
"registries": {
|
||||||
|
"https://registry.start9.com/": "Start9 Registry",
|
||||||
|
"https://community-registry.start9.com/": "Community Registry",
|
||||||
"https://beta-registry.start9.com/": "Start9 Beta Registry",
|
"https://beta-registry.start9.com/": "Start9 Beta Registry",
|
||||||
"https://community-beta-registry.start9.com/": "Community Beta Registry"
|
"https://community-beta-registry.start9.com/": "Community Beta Registry"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import { RR } from 'src/app/services/api/api.types'
|
|||||||
import { ApiService } from 'src/app/services/api/embassy-api.service'
|
import { ApiService } from 'src/app/services/api/embassy-api.service'
|
||||||
import { DataModel } from 'src/app/services/patch-db/data-model'
|
import { DataModel } from 'src/app/services/patch-db/data-model'
|
||||||
|
|
||||||
// const { start9, community } = defaultRegistries
|
const { start9, community } = defaultRegistries
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
@@ -46,10 +46,10 @@ export class MarketplaceService {
|
|||||||
.watch$('ui', 'registries')
|
.watch$('ui', 'registries')
|
||||||
.pipe(
|
.pipe(
|
||||||
map(registries => [
|
map(registries => [
|
||||||
// toStoreIdentity(start9, registries[start9]),
|
toStoreIdentity(start9, registries[start9]),
|
||||||
// toStoreIdentity(community, registries[community]),
|
toStoreIdentity(community, registries[community]),
|
||||||
...Object.entries(registries)
|
...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)),
|
.map(([url, name]) => toStoreIdentity(url, name)),
|
||||||
]),
|
]),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user