Only show the SaveStatus component for people who can save
This commit is contained in:
1 parent
688c386f86
commit
e0815cc701
1 file changed
+3
-1
@@ -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 ? (
|
||||
|
||||
Reference in new issue
Block a user