From 881e17dc6783d6cad5c7d9e0eb4ffcc769e209e2 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Mon, 1 Apr 2019 14:40:48 -0400 Subject: [PATCH] See project page button will only save if user can save AND project has changed --- src/components/menu-bar/menu-bar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/menu-bar/menu-bar.jsx b/src/components/menu-bar/menu-bar.jsx index 972809d2d..6b5bcfcb8 100644 --- a/src/components/menu-bar/menu-bar.jsx +++ b/src/components/menu-bar/menu-bar.jsx @@ -194,7 +194,7 @@ class MenuBar extends React.Component { this.props.onRequestCloseFile(); } handleClickSeeCommunity (waitForUpdate) { - if (this.props.canSave) { // save before transitioning to project page + if (this.props.canSave && this.props.projectChanged) { // save before transitioning to project page this.props.autoUpdateProject(); waitForUpdate(true); // queue the transition to project page } else {