mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
fix the remove icon visible in Dropdown other than owner (#8291)
This commit is contained in:
parent
45adf285ba
commit
fe77f710a1
@ -110,7 +110,7 @@ const DropDownList: FunctionComponent<DropDownListProp> = ({
|
||||
};
|
||||
|
||||
const removeOwnerButton = (item: DropDownListItem) => {
|
||||
return !isNil(value) && item.value === value ? (
|
||||
return !isNil(value) && item.value === value && removeOwner ? (
|
||||
<Tooltip title="Remove owner">
|
||||
<button
|
||||
className="cursor-pointer"
|
||||
|
Loading…
x
Reference in New Issue
Block a user