mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Handled empty plans for site
[Temp] Hide the plans section if plans are not present
This commit is contained in:
parent
f727fdd1ed
commit
4d71056e12
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ export default class SignupPage extends React.Component {
|
|||
marginBottom: '12px'
|
||||
};
|
||||
const plans = this.props.data.site && this.props.data.site.plans;
|
||||
if (!plans) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<div style={{width: '100%'}}>
|
||||
<div style={{fontWeight: 'bold', marginBottom: '9px'}}> Choose a Plan </div>
|
||||
|
|
Loading…
Add table
Reference in a new issue