From a2f85b3d985044fd79dfaeef0ff273d5dc4d6534 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Mon, 20 Apr 2026 10:16:31 +0800 Subject: [PATCH] fix(web): update quotas key --- web/src/components/SiderMenu/SubscriptionDetailModal.tsx | 2 +- web/src/components/SiderMenu/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/components/SiderMenu/SubscriptionDetailModal.tsx b/web/src/components/SiderMenu/SubscriptionDetailModal.tsx index ae084fcd..fbb5030c 100644 --- a/web/src/components/SiderMenu/SubscriptionDetailModal.tsx +++ b/web/src/components/SiderMenu/SubscriptionDetailModal.tsx @@ -82,7 +82,7 @@ const SubscriptionDetailModal = forwardRef((_props, {/* Features */} {billingUnits.map(({ key, unit, icon }) => { - const value = detail?.quota[key as keyof Subscription['quota']]; + const value = detail?.quotas[key as keyof Subscription['quotas']]; if (value === undefined || value === null) return null; return ( {['workspace_quota', 'skill_quota', 'app_quota', 'model_quota'].map(key => (
-
{subscription.quota?.[key as keyof typeof subscription.quota]}
+
{subscription.quotas?.[key as keyof typeof subscription.quotas]}
{t(`index.${key}`)}
))}