assets and tier plans revamp

This commit is contained in:
rgrgogu
2026-08-01 17:44:12 +08:00
parent 4f738a691d
commit a34c6feb84
45 changed files with 2172 additions and 273 deletions
+8 -1
View File
@@ -140,7 +140,14 @@ const UnitDetails = () => {
// ── Deep-link to a locked unit — inline blocked panel, not a redirect ────
if (unitBlocked) {
return <LockedContentPanel course={unitBlockedInfo?.course} tierMap={tierMap} />;
return (
<LockedContentPanel
course={unitBlockedInfo?.course}
item={unitBlockedInfo?.item}
tierMap={tierMap}
checkoutPath={unitBlockedInfo?.item?.uuid ? `/units/${unitBlockedInfo.item.uuid}/checkout` : null}
/>
);
}
if (unitDetailLoading) {