From a694dd5a047514c0648297bf6ba794e76b6f4f4d Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Tue, 24 May 2022 16:38:19 +0530 Subject: [PATCH] Fix #5114 UI : Broken link for users on request description for conversations (#5115) --- .../src/main/resources/ui/src/utils/FeedElementUtils.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/FeedElementUtils.tsx b/openmetadata-ui/src/main/resources/ui/src/utils/FeedElementUtils.tsx index 08272f198d0..05ce1717520 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/FeedElementUtils.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/utils/FeedElementUtils.tsx @@ -14,6 +14,7 @@ import { isEmpty, isUndefined } from 'lodash'; import { EntityFieldThreads } from 'Models'; import React, { Fragment } from 'react'; +import { entityUrlMap } from '../constants/feed.constants'; import { EntityReference } from '../generated/entity/teams/user'; import { getEntityFeedLink } from './EntityUtils'; import { getThreadField } from './FeedUtils'; @@ -82,7 +83,9 @@ export const getDefaultValue = (owner: EntityReference) => { const name = owner.name; const displayName = owner.displayName; const entityType = owner.type; - const mention = `@${displayName}`; + const mention = `@${displayName}`; return `${mention} ${message}`; }