diff --git a/src/components/navigation/www/navigation.jsx b/src/components/navigation/www/navigation.jsx
index ab5c13fef..fef186a37 100644
--- a/src/components/navigation/www/navigation.jsx
+++ b/src/components/navigation/www/navigation.jsx
@@ -198,17 +198,6 @@ class Navigation extends React.Component {
,
- (
- USE_SCRATCH3_REGISTRATION ? (
-
- ) : (
-
- )
- ),
- ]) : []}
+ ]) : []
+ }
+ {this.props.registrationOpen && (
+ USE_SCRATCH3_REGISTRATION ? (
+
+ ) : (
+
+ )
+ )}
@@ -250,6 +251,7 @@ Navigation.propTypes = {
educator_invitee: PropTypes.bool,
student: PropTypes.bool
}),
+ registrationOpen: PropTypes.bool,
searchTerm: PropTypes.string,
session: PropTypes.shape({
status: PropTypes.string
@@ -273,6 +275,7 @@ const mapStateToProps = state => ({
accountNavOpen: state.navigation && state.navigation.accountNavOpen,
session: state.session,
permissions: state.permissions,
+ registrationOpen: state.navigation.registrationOpen,
searchTerm: state.navigation.searchTerm,
unreadMessageCount: state.messageCount.messageCount,
user: state.session && state.session.session && state.session.session.user