Disable tag popover for create tag option (#3429)

This commit is contained in:
WithoutPants
2023-02-13 12:15:06 +11:00
committed by GitHub
parent 83cb51ec47
commit 8bd5f91e58

View File

@@ -873,8 +873,10 @@ export const TagSelect: React.FC<IFilterProps & { excludeIds?: string[] }> = (
};
}
const id = optionProps.data.__isNew__ ? "" : optionProps.data.value;
return (
<TagPopover id={optionProps.data.value}>
<TagPopover id={id}>
<reactSelectComponents.Option {...thisOptionProps} />
</TagPopover>
);