Only show the SaveStatus component for people who can save

This commit is contained in:
Paul Kaplan committed 2018-12-07 10:45:02 -05:00
1 parent 688c386f86
commit e0815cc701
1 file changed
+3 -1
+3 -1
View File
@@ -542,7 +542,9 @@ class MenuBar extends React.Component {
logged in, and whether a session is available to log in with */}
<div className={styles.accountInfoGroup}>
<div className={styles.menuBarItem}>
<SaveStatus />
{this.props.canSave && (
<SaveStatus />
)}
</div>
{this.props.sessionExists ? (
this.props.username ? (