diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx index a9c685c5ccd..508e8247c61 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/Glossary/GlossaryV1.component.tsx @@ -309,8 +309,9 @@ const GlossaryV1 = ({ Delete

- Deleting this Glossary will permanently remove its metadata - from OpenMetadata. + Deleting this{' '} + {isGlossaryActive ? 'Glossary' : 'GlossaryTerm'} will + permanently remove its metadata from OpenMetadata.

@@ -387,10 +388,13 @@ const GlossaryV1 = ({ useEffect(() => { setDisplayName(selectedData?.displayName); if (selectedData) { - fetchGlossaryPermission(); - fetchGlossaryTermPermission(); + if (isGlossaryActive) { + fetchGlossaryPermission(); + } else { + fetchGlossaryTermPermission(); + } } - }, [selectedData]); + }, [selectedData, isGlossaryActive]); return glossaryList.length ? ( @@ -439,14 +443,18 @@ const GlossaryV1 = ({ onVisibleChange={setShowActions}>