fix(web): update quotas key

This commit is contained in:
zhaoying
2026-04-20 10:16:31 +08:00
parent 7f1cf13b23
commit a2f85b3d98
2 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ const SubscriptionDetailModal = forwardRef<SubscriptionDetailModalRef>((_props,
{/* Features */}
<Flex gap={12} vertical className="rb:space-y-3 rb:mb-4 rb:h-[calc(100vh-341px)]! rb:overflow-y-auto">
{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 (
<UnitWrapper