mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Disable tag popover for create tag option (#3429)
This commit is contained in:
@@ -873,8 +873,10 @@ export const TagSelect: React.FC<IFilterProps & { excludeIds?: string[] }> = (
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const id = optionProps.data.__isNew__ ? "" : optionProps.data.value;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TagPopover id={optionProps.data.value}>
|
<TagPopover id={id}>
|
||||||
<reactSelectComponents.Option {...thisOptionProps} />
|
<reactSelectComponents.Option {...thisOptionProps} />
|
||||||
</TagPopover>
|
</TagPopover>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user