We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0281b4a commit 372ed3cCopy full SHA for 372ed3c
src/shared/containers/TopcoderHeader/index.jsx
@@ -30,7 +30,10 @@ const TopcoderHeader = ({ auth }) => {
30
31
// if there's a stored nav type in session storage, retrieve it and overwrite type
32
const sessionNavType = sessionStorage.getItem('uni-nav[navType]');
33
- if (sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
+ const url = window.location.pathname;
34
+
35
+ //Only use the set sessionStorage value for navType on the /thrive paths, for now. Probably will change in the future...
36
+ if (url.includes('/thrive') && sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
37
type = sessionNavType;
38
}
39
0 commit comments