diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx index 024c9d84816..1cddfc77b7a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ExploreV1/ExploreV1.component.tsx @@ -210,7 +210,9 @@ const ExploreV1: React.FC = ({ const exploreLeftPanel = useMemo(() => { if (tabItems.length === 0) { - return ( + return loading ? ( + + ) : ( { return { - [SearchIndex.TABLE]: { - label: i18n.t('label.table-plural'), - sortingFields: tableSortingFields, - sortField: INITIAL_SORT_FIELD, - path: ExplorePageTabs.TABLES, - icon: TableIcon, - }, - [SearchIndex.STORED_PROCEDURE]: { - label: i18n.t('label.stored-procedure-plural'), - sortingFields: entitySortingFields, - sortField: INITIAL_SORT_FIELD, - path: ExplorePageTabs.STORED_PROCEDURE, - icon: IconStoredProcedure, - }, [SearchIndex.DATABASE]: { label: i18n.t('label.database-plural'), sortingFields: entitySortingFields, @@ -385,6 +371,20 @@ class SearchClassBase { path: ExplorePageTabs.DATABASE_SCHEMA, icon: SchemaIcon, }, + [SearchIndex.TABLE]: { + label: i18n.t('label.table-plural'), + sortingFields: tableSortingFields, + sortField: INITIAL_SORT_FIELD, + path: ExplorePageTabs.TABLES, + icon: TableIcon, + }, + [SearchIndex.STORED_PROCEDURE]: { + label: i18n.t('label.stored-procedure-plural'), + sortingFields: entitySortingFields, + sortField: INITIAL_SORT_FIELD, + path: ExplorePageTabs.STORED_PROCEDURE, + icon: IconStoredProcedure, + }, [SearchIndex.DASHBOARD]: { label: i18n.t('label.dashboard-plural'), sortingFields: entitySortingFields,