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)

(cherry picked from commit 28a8b5b)
  • Loading branch information
devinbinnie authored and mattermost-build committed Oct 13, 2020
1 parent d2c619c commit a7f703f
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 a7f703f

Please sign in to comment.