From 95b2ac276ed02e76440970d01db2ea0093b09e5b Mon Sep 17 00:00:00 2001 From: Aniket Katkar <51777795+aniketkatkar97@users.noreply.github.com> Date: Tue, 23 Aug 2022 14:07:38 +0530 Subject: [PATCH] Fix #6314 : Added placeholder when no entity found whiled searching in lineage editor (#6867) --- .../EntityLineage/NodeSuggestions.component.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/NodeSuggestions.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/NodeSuggestions.component.tsx index de2f535ed08..21f9aad3d59 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/NodeSuggestions.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/EntityLineage/NodeSuggestions.component.tsx @@ -11,6 +11,7 @@ * limitations under the License. */ +import { Empty } from 'antd'; import { AxiosError } from 'axios'; import { capitalize } from 'lodash'; import { FormattedTableData } from 'Models'; @@ -130,7 +131,20 @@ const NodeSuggestions: FC = ({ ))} - ) : null} + ) : ( + searchValue && ( +
+ +
+ ) + )} ); };