From 507823dc4f1a2c1db47635ac26a686d4d8f2f4e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Mon, 26 Sep 2022 14:12:01 +0200 Subject: [PATCH] fix(web): check for proper feature in the subscription sharing section --- .../Panes/Account/SubscriptionSharing/SubscriptionSharing.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/javascripts/Components/Preferences/Panes/Account/SubscriptionSharing/SubscriptionSharing.tsx b/packages/web/src/javascripts/Components/Preferences/Panes/Account/SubscriptionSharing/SubscriptionSharing.tsx index 27fd7d8ad..77bb788a8 100644 --- a/packages/web/src/javascripts/Components/Preferences/Panes/Account/SubscriptionSharing/SubscriptionSharing.tsx +++ b/packages/web/src/javascripts/Components/Preferences/Panes/Account/SubscriptionSharing/SubscriptionSharing.tsx @@ -26,7 +26,7 @@ const SubscriptionSharing: FunctionComponent = ({ application, viewContro const subscriptionState = viewControllerManager.subscriptionController const isSubscriptionSharingFeatureAvailable = - application.features.getFeatureStatus(FeatureIdentifier.TwoFactorAuth) === FeatureStatus.Entitled + application.features.getFeatureStatus(FeatureIdentifier.SubscriptionSharing) === FeatureStatus.Entitled return (