Fix issue with fullscreen not appearing (#1451)
This commit is contained in:
parent
11511a89e3
commit
3502844029
1 changed files with 3 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue