Fix issue with fullscreen not appearing (#1451)

This commit is contained in:
Andrew Nicolaou 2020-06-08 10:50:58 +02:00 committed by GitHub
parent 11511a89e3
commit 3502844029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import * as ProjectActions from '../actions/project';
class FullView extends React.Component {
componentDidMount() {
this.props.getProject(this.props.params.project_id);
this.props.getProject(this.props.params.project_id, this.props.params.username);
}
ident = () => {}
@ -56,7 +56,8 @@ class FullView extends React.Component {
FullView.propTypes = {
params: PropTypes.shape({
project_id: PropTypes.string
project_id: PropTypes.string,
username: PropTypes.string
}).isRequired,
project: PropTypes.shape({
name: PropTypes.string,