diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 14ac255c..803d81a5 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -123,6 +123,11 @@ class IDEView extends React.Component { this.autosaveInterval = null; } + getTitle = () => { + const { id } = this.props.project; + return id ? `p5.js Web Editor | ${this.props.project.name}` : 'p5.js Web Editor'; + } + isUserOwner() { return this.props.project.owner && this.props.project.owner.id === this.props.user.id; } @@ -203,7 +208,7 @@ class IDEView extends React.Component { return (