11import _ from 'lodash'
22import React , { PropTypes as PT , Component } from 'react'
3- import { Link } from 'react-router'
43import Sticky from 'react-stickynode'
54
65import config from '../../../config/projectWizard'
7- import SVGIconImage from '../../../components/SVGIconImage'
86import './FillProjectDetails.scss'
97import ProjectBasicDetailsForm from '../components/ProjectBasicDetailsForm'
108import ProjectOutline from '../components/ProjectOutline'
@@ -34,9 +32,7 @@ class FillProjectDetails extends Component {
3432 }
3533
3634 render ( ) {
37- const { project, dirtyProject, processing, submitBtnText, userRoles } = this . props
38- const isLoggedIn = userRoles && userRoles . length
39- const logoTargetUrl = isLoggedIn ? '/projects' : '/'
35+ const { project, dirtyProject, processing, submitBtnText } = this . props
4036 const product = _ . get ( project , 'details.products[0]' )
4137 const projectTypeId = _ . get ( project , 'type' )
4238 const subConfig = config [ _ . findKey ( config , { id : projectTypeId } ) ]
@@ -49,8 +45,6 @@ class FillProjectDetails extends Component {
4945 return (
5046 < div className = "FillProjectDetailsWrapper" >
5147 < div className = "header headerFillProjectDetails" >
52- { ! isLoggedIn && < Link className = "logo" to = { logoTargetUrl } target = "_self" > < SVGIconImage filePath = "connect-logo-mono" className = "connectLogo" /> </ Link > }
53- { ! isLoggedIn && < button className = "tc-btn tc-btn-default tc-btn-sm" onClick = { this . props . onChangeProjectType } > < SVGIconImage filePath = "arrows-undo" /> Change project type</ button > }
5448 </ div >
5549 < div className = "FillProjectDetails" >
5650 < div className = "header" >
0 commit comments