             <ErrorDisplay error={@state.error} onClose={=>@setState(error:'')} />
 
     render : ->
+        subs = @props.customer?.subscriptions?.total_count ? 0
         new_proj_btn =  <Col sm=4>
                             <Button
                                 bsStyle  = 'success'


        new_proj_dialog = <Col sm=12>
                            <Space/>
                            {@render_input_section()}
                          </Col>

        <Row>

        e.preventDefault();
        $('html, body').animate({ scrollTop: $('#upgrade_before_creation').offset().top }, 0)

    render_upgrade_before_create : (subs) ->
        if subs > 0 and not @state["has_subbed"]
            @setState(@getInitialUpgraderState())
            @setState(has_subbed: true)
