mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 01:15:08 +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) => {
|
const removeOwnerButton = (item: DropDownListItem) => {
|
||||||
return !isNil(value) && item.value === value ? (
|
return !isNil(value) && item.value === value && removeOwner ? (
|
||||||
<Tooltip title="Remove owner">
|
<Tooltip title="Remove owner">
|
||||||
<button
|
<button
|
||||||
className="cursor-pointer"
|
className="cursor-pointer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user