Commit 56716c16 by IllTamer

fix: the pricing available popover display anyway

parent 8fffa159
...@@ -81,7 +81,7 @@ const ModelPricing = () => { ...@@ -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 = () => { ...@@ -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 = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment