mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
Fix UI :- Glossary default item after clicking from list to navigation (#7875)
* fix glossary default item after clicking from list to navigation * changes as per comments * changes as per comments
This commit is contained in:
parent
e8c517748f
commit
4a358cd36f
@ -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);
|
||||
}
|
||||
|
@ -148,6 +148,7 @@
|
||||
.activeCategory {
|
||||
border-left: 2px solid @primary;
|
||||
background: @primary-light;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mt-0 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user