mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-11 08:54:00 +00:00
fixing user and group links in search results (#3383)
This commit is contained in:
parent
ebe0b3f7c1
commit
c25b2e97e8
@ -73,7 +73,7 @@ export const Preview = ({
|
||||
membersCount?: number;
|
||||
}): JSX.Element => {
|
||||
const entityRegistry = useEntityRegistry();
|
||||
const url = entityRegistry.getEntityUrl(EntityType.Dataset, urn);
|
||||
const url = entityRegistry.getEntityUrl(EntityType.CorpGroup, urn);
|
||||
|
||||
return (
|
||||
<PreviewContainer>
|
||||
|
@ -66,7 +66,7 @@ export const Preview = ({
|
||||
title?: string | undefined;
|
||||
}): JSX.Element => {
|
||||
const entityRegistry = useEntityRegistry();
|
||||
const url = entityRegistry.getEntityUrl(EntityType.Dataset, urn);
|
||||
const url = entityRegistry.getEntityUrl(EntityType.CorpUser, urn);
|
||||
|
||||
return (
|
||||
<PreviewContainer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user