From fe77f710a13b9250e70150979df4ada223ac0a6c Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Thu, 20 Oct 2022 23:47:16 +0530 Subject: [PATCH] fix the remove icon visible in Dropdown other than owner (#8291) --- .../main/resources/ui/src/components/dropdown/DropDownList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/dropdown/DropDownList.tsx b/openmetadata-ui/src/main/resources/ui/src/components/dropdown/DropDownList.tsx index ca14e6b4adc..55de1f7d5e6 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/dropdown/DropDownList.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/dropdown/DropDownList.tsx @@ -110,7 +110,7 @@ const DropDownList: FunctionComponent = ({ }; const removeOwnerButton = (item: DropDownListItem) => { - return !isNil(value) && item.value === value ? ( + return !isNil(value) && item.value === value && removeOwner ? (