diff --git a/src/modules/connection/explorer/component/CatalogItem.vue b/src/modules/connection/explorer/component/CatalogItem.vue index 5a17dcbf..c230dd11 100644 --- a/src/modules/connection/explorer/component/CatalogItem.vue +++ b/src/modules/connection/explorer/component/CatalogItem.vue @@ -42,6 +42,8 @@ import { useBackupsTabFactory, } from '@/modules/backup-viewer/service/BackupViewerTabFactory' import { ItemFlag } from '@/modules/base/model/tree-view/ItemFlag' +import { EntityCollection } from '@/modules/connection/model/EntityCollection' +import Immutable from 'immutable' const evitaLabConfig: EvitaLabConfig = useEvitaLabConfig() const workspaceService: WorkspaceService = useWorkspaceService() @@ -76,6 +78,12 @@ const flags = computed(() => { const actions = computed>>(() => createActions()) const actionList = computed[]>(() => Array.from(actions.value.values())) +const entityCollections = computed>(() => { + return props.catalog.entityCollections.sort((a: EntityCollection, b: EntityCollection) => { + return a.entityType.localeCompare(b.entityType) + }) +}) + const catalogRef = ref(props.catalog) provideCatalog(catalogRef as Ref) @@ -276,7 +284,7 @@ function createMenuAction(
-