Skip to content
Snippets Groups Projects
Commit fed9b85d authored by Ben Wheeler's avatar Ben Wheeler
Browse files

clarify when user will see warning on clicking file -> new

parent 21e9909f
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,10 @@ class MenuBar extends React.Component {
handleClickNew () {
let readyToReplaceProject = true;
// if the project is dirty, and user owns the project, we will autosave.
// but if they don't own this project, user should consider downloading first.
// but if they are not logged in and can't save, user should consider
// downloading or logging in first.
// Note that if user is logged in and editing someone else's project,
// they'll lose their work.
if (this.props.projectChanged && !this.props.canCreateNew) {
readyToReplaceProject = confirm( // eslint-disable-line no-alert
this.props.intl.formatMessage(messages.confirmNav)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment