Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/TopBar/TopBarContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class TopBarContainer extends React.Component {
const isHomePage = this.props.match.path === '/'
const loginUrl = `${ACCOUNTS_APP_LOGIN_URL}?retUrl=${window.location.protocol}//${window.location.host}/`
const registerUrl = !isHomePage ? ACCOUNTS_APP_REGISTER_URL : null
const profileUrl = `https://${DOMAIN}/settings/profile/`

const logoutClick = (evt) => {
evt.preventDefault()
Expand All @@ -74,6 +75,7 @@ class TopBarContainer extends React.Component {

const userMenuItems = [
[
{ label: 'Profile Settings', link: profileUrl, absolute: true, id: 0},
{ label: 'Help', link: 'https://help.topcoder.com/hc/en-us', absolute: true, id: 0 }
],
[
Expand Down