Skip to content

Commit

Permalink
[MM-29615] Fixed subscription page so it doesn't load until subscript…
Browse files Browse the repository at this point in the history
…ion info is loaded (mattermost#6766)
  • Loading branch information
devinbinnie committed Oct 13, 2020
1 parent 79737da commit 28a8b5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/admin_console/billing/billing_subscriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ const BillingSubscriptions: React.FC<Props> = () => {
</div>
);

if (!subscription) {
return null;
}

return (
<div className='wrapper--fixed BillingSubscriptions'>
<FormattedAdminHeader
Expand Down

0 comments on commit 28a8b5b

Please sign in to comment.