Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Allow user to update subscriptions after cancel

Manav Rathidbf737092ba7
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
index 6fe86769e1..55e93979de 100644
--- a/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector/card.tsx
@@ -122,8 +122,8 @@ function PlanSelectorCard(props: Props) {
async function onPlanSelect(plan: Plan) {
if (
- !hasPaidSubscription(subscription) ||
- isSubscriptionCancelled(subscription)
+ !hasPaidSubscription(subscription) &&
+ !isSubscriptionCancelled(subscription)
) {
try {
props.setLoading(true);