π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show manage family portal option if add-on is active (#1479)
Neeraj Guptafebe1ba41083
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/card/free.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/card/free.tsxindex 71e772391a..0e81557b3d 100644--- a/apps/photos/src/components/pages/gallery/PlanSelector/card/free.tsx+++ b/apps/photos/src/components/pages/gallery/PlanSelector/card/free.tsx@@ -7,12 +7,14 @@ import { PeriodToggler } from '../periodToggler';import Plans from '../plans';import { hasAddOnBonus } from 'utils/billing';import { BFAddOnRow } from '../plans/BfAddOnRow';+import { ManageSubscription } from '../manageSubscription';export default function FreeSubscriptionPlanSelectorCard({plans,subscription,bonusData,closeModal,+ setLoading,planPeriod,togglePeriod,onPlanSelect,@@ -48,6 +50,14 @@ export default function FreeSubscriptionPlanSelectorCard({closeModal={closeModal}/>)}+ {hasAddOnBonus(bonusData) && (+ <ManageSubscription+ subscription={subscription}+ bonusData={bonusData}+ closeModal={closeModal}+ setLoading={setLoading}+ />+ )}</Stack></Box></>diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/card/index.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/card/index.tsxindex 5e09857979..e76e2f9332 100644--- a/apps/photos/src/components/pages/gallery/PlanSelector/card/index.tsx+++ b/apps/photos/src/components/pages/gallery/PlanSelector/card/index.tsx@@ -191,6 +191,7 @@ function PlanSelectorCard(props: Props) {subscription={subscription}bonusData={bonusData}closeModal={props.closeModal}+ setLoading={props.setLoading}planPeriod={planPeriod}togglePeriod={togglePeriod}onPlanSelect={onPlanSelect}