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 {
|
class FullView extends React.Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.getProject(this.props.params.project_id);
|
this.props.getProject(this.props.params.project_id, this.props.params.username);
|
||||||
}
|
}
|
||||||
|
|
||||||
ident = () => {}
|
ident = () => {}
|
||||||
|
@ -56,7 +56,8 @@ class FullView extends React.Component {
|
||||||
|
|
||||||
FullView.propTypes = {
|
FullView.propTypes = {
|
||||||
params: PropTypes.shape({
|
params: PropTypes.shape({
|
||||||
project_id: PropTypes.string
|
project_id: PropTypes.string,
|
||||||
|
username: PropTypes.string
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
project: PropTypes.shape({
|
project: PropTypes.shape({
|
||||||
name: PropTypes.string,
|
name: PropTypes.string,
|
||||||
|
|
Loading…
Reference in a new issue