fix: the pricing available popover display anyway

This commit is contained in:
IllTamer
2025-03-10 22:16:02 +08:00
parent 5017fabbfa
commit ccfac06645

View File

@@ -81,7 +81,7 @@ const ModelPricing = () => {
}
function renderAvailable(available) {
return (
return available ? (
<Popover
content={
<div style={{ padding: 8 }}>{t('您的分组可以使用该模型')}</div>
@@ -98,7 +98,7 @@ const ModelPricing = () => {
>
<IconVerify style={{ color: 'green' }} size="large" />
</Popover>
)
) : null;
}
const columns = [