-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintainer group is made optional for accessing maintainer site #29
base: master
Are you sure you want to change the base?
Conversation
src/actions/apiInfoCall.js
Outdated
dispatch(receiveProjectData(projectUrl, projectRes)) | ||
}) | ||
.catch(error => { | ||
console.log(error) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dispatch errorOccured
here
src/components/app.js
Outdated
apiInfoData.projectLoaded | ||
) { | ||
return ( | ||
<div styleName="blocks.container"> | ||
<AppHeader | ||
handleClick={this.handleShow} | ||
onClick={this.handleHide} | ||
title={apiInfoData.footerData.name} | ||
title={apiInfoData.footerData?apiInfoData.footerData.name:null} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apiInfoData.footerData && apiInfoData.footerData.name
No need to use ternary operator
src/components/footer/app-footer.js
Outdated
@@ -44,7 +44,7 @@ class FooterSection extends Component { | |||
return ( | |||
<footer styleName="styles.container" onClick={this.handleClickCounter}> | |||
<Container>{`© ${date.getFullYear()} ${ | |||
this.props.info.name | |||
this.props.info?this.props.info.name:'-' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add space like this:
this.props.info ? this.props.info.name : '-'
Work in Progress. Need a PR for social, contact etc. information to work properly.