Add upgrade CTAs for branding and watermarks

This commit is contained in:
Codex Agent
2026-01-15 10:17:05 +01:00
parent 94b736d6ae
commit eb4ec94e01
6 changed files with 116 additions and 10 deletions

View File

@@ -106,7 +106,9 @@ export function selectRecommendedPackageId(
return null;
}
const candidates = packages.filter((pkg) => normalizePackageFeatures(pkg).includes(feature));
const candidates = feature === 'watermark_allowed'
? packages.filter((pkg) => pkg.watermark_allowed === true)
: packages.filter((pkg) => normalizePackageFeatures(pkg).includes(feature));
if (candidates.length === 0) {
return null;
}