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