Skip to content
Snippets Groups Projects
Unverified Commit 387231aa authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #3992 from paulkaplan/save-only-for-savers

Only show the `SaveStatus` component for people who can save
parents 1674baf8 e0815cc7
No related branches found
No related tags found
No related merge requests found
...@@ -542,7 +542,9 @@ class MenuBar extends React.Component { ...@@ -542,7 +542,9 @@ class MenuBar extends React.Component {
logged in, and whether a session is available to log in with */} logged in, and whether a session is available to log in with */}
<div className={styles.accountInfoGroup}> <div className={styles.accountInfoGroup}>
<div className={styles.menuBarItem}> <div className={styles.menuBarItem}>
<SaveStatus /> {this.props.canSave && (
<SaveStatus />
)}
</div> </div>
{this.props.sessionExists ? ( {this.props.sessionExists ? (
this.props.username ? ( this.props.username ? (
......
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