From b97265d830ff793345b816b46c8686c94d9473ff Mon Sep 17 00:00:00 2001 From: Domagoj Kriskovic Date: Tue, 27 May 2025 14:54:48 +0200 Subject: [PATCH] Show add-on list for non-personal subscription (#25901) GitOrigin-RevId: ba23158f51a7183fabc61c16b19809f58cf15323 --- .../components/dashboard/subscription-dashboard.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/services/web/frontend/js/features/subscription/components/dashboard/subscription-dashboard.tsx b/services/web/frontend/js/features/subscription/components/dashboard/subscription-dashboard.tsx index 972e268597..8cb07181cf 100644 --- a/services/web/frontend/js/features/subscription/components/dashboard/subscription-dashboard.tsx +++ b/services/web/frontend/js/features/subscription/components/dashboard/subscription-dashboard.tsx @@ -14,6 +14,7 @@ import OLPageContentCard from '@/features/ui/components/ol/ol-page-content-card' import OLRow from '@/features/ui/components/ol/ol-row' import OLCol from '@/features/ui/components/ol/ol-col' import OLNotification from '@/features/ui/components/ol/ol-notification' +import WritefullManagedBundleAddOn from './states/active/change-plan/modals/writefull-bundle-management-modal' function SubscriptionDashboard() { const { t } = useTranslation() @@ -24,6 +25,7 @@ function SubscriptionDashboard() { personalSubscription, } = useSubscriptionDashboardContext() + const hasAiAssistViaWritefull = getMeta('ol-hasAiAssistViaWritefull') const fromPlansPage = getMeta('ol-fromPlansPage') return ( @@ -50,6 +52,12 @@ function SubscriptionDashboard() { + {!personalSubscription && hasAiAssistViaWritefull && ( +
+

{t('add_ons')}

+ +
+ )} {hasValidActiveSubscription && ( )}