Skip to content

Commit

Permalink
fix: domain assignment for glossary term (#13793)
Browse files Browse the repository at this point in the history
  • Loading branch information
karanh37 committed Nov 8, 2023
1 parent 1ea2e68 commit bb15629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ const GlossaryDetailsRightPanel = ({
domain={selectedData.domain}
entityFqn={selectedData.fullyQualifiedName ?? ''}
entityId={selectedData.id ?? ''}
entityType={EntityType.GLOSSARY}
entityType={
isGlossary ? EntityType.GLOSSARY : EntityType.GLOSSARY_TERM
}
hasPermission={permissions.EditAll}
/>
</Col>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const GlossaryPage = () => {
try {
const response = await getGlossaryTermByFQN(
glossaryFqn,
'relatedTerms,reviewers,tags,owner,children,votes'
'relatedTerms,reviewers,tags,owner,children,votes,domain'
);
setSelectedData(response);
} catch (error) {
Expand Down

0 comments on commit bb15629

Please sign in to comment.