From ccfac06645b0a249f2c922f800f0a1a21f8edad7 Mon Sep 17 00:00:00 2001 From: IllTamer Date: Mon, 10 Mar 2025 22:16:02 +0800 Subject: [PATCH] fix: the pricing available popover display anyway --- web/src/components/ModelPricing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/ModelPricing.js b/web/src/components/ModelPricing.js index 299d39cb..8d9bfd81 100644 --- a/web/src/components/ModelPricing.js +++ b/web/src/components/ModelPricing.js @@ -81,7 +81,7 @@ const ModelPricing = () => { } function renderAvailable(available) { - return ( + return available ? ( {t('您的分组可以使用该模型')} @@ -98,7 +98,7 @@ const ModelPricing = () => { > - ) + ) : null; } const columns = [