fix: the pricing available popover display anyway
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user