From 350284402939de951cebf7f576197b7e7532b43f Mon Sep 17 00:00:00 2001 From: Andrew Nicolaou Date: Mon, 8 Jun 2020 10:50:58 +0200 Subject: [PATCH] Fix issue with fullscreen not appearing (#1451) --- client/modules/IDE/pages/FullView.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/modules/IDE/pages/FullView.jsx b/client/modules/IDE/pages/FullView.jsx index cbdc89d6..f8f9e96f 100644 --- a/client/modules/IDE/pages/FullView.jsx +++ b/client/modules/IDE/pages/FullView.jsx @@ -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,