diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/GlossaryPage/GlossaryPageV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/GlossaryPage/GlossaryPageV1.component.tsx index b2cba2f3eab..814e85968e0 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/GlossaryPage/GlossaryPageV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/GlossaryPage/GlossaryPageV1.component.tsx @@ -288,8 +288,8 @@ const GlossaryPageV1 = () => { handleChildLoading(true); const hierarchy = getTermPosFromGlossaries(arrGlossary, dataFQN); if (hierarchy.length < 2) { - setSelectedData(arrGlossary[hierarchy[0]]); - handleSelectedKey(dataFQN); + setSelectedData(dataFQN ? arrGlossary[hierarchy[0]] : arrGlossary[0]); + handleSelectedKey(dataFQN ? dataFQN : arrGlossary[0]?.name); if (!expandedKey.length) { handleExpandedKey([dataFQN], true); } diff --git a/openmetadata-ui/src/main/resources/ui/src/styles/app.less b/openmetadata-ui/src/main/resources/ui/src/styles/app.less index 61fde04d3c2..9cc3e4798fd 100644 --- a/openmetadata-ui/src/main/resources/ui/src/styles/app.less +++ b/openmetadata-ui/src/main/resources/ui/src/styles/app.less @@ -148,6 +148,7 @@ .activeCategory { border-left: 2px solid @primary; background: @primary-light; + font-weight: 600; } .mt-0 {