Skip to content

Commit c2bdda2

Browse files
committed
chore: temporarily remove manage sub button for android
1 parent 09ffb07 commit c2bdda2

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

packages/web/src/javascripts/Components/ComponentView/NotEntitledBanner.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ const NotEntitledBanner: FunctionComponent<Props> = ({ featureStatus, feature })
5050
</div>
5151
</div>
5252
<div className={'right'}>
53-
<Button onClick={manageSubscription} primary colorStyle="success" small>
54-
Manage subscription
55-
</Button>
53+
{application.canShowPurchaseFlow() && (
54+
<Button onClick={manageSubscription} primary colorStyle="success" small>
55+
Manage subscription
56+
</Button>
57+
)}
5658
</div>
5759
</div>
5860
</div>

packages/web/src/javascripts/Components/Preferences/Panes/Account/Subscription/SubscriptionInformation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const SubscriptionInformation = () => {
1414
return (
1515
<>
1616
<SubscriptionStatusText />
17-
{!isSharedSubscription && (
17+
{!isSharedSubscription && application.canShowPurchaseFlow() && (
1818
<Button className="mr-3 mt-3 min-w-20" label="Manage subscription" onClick={manageSubscription} />
1919
)}
2020
</>

0 commit comments

Comments
 (0)