Skip to content

Commit f6632bc

Browse files
authored
Merge pull request #4254 from topcoder-platform/nav-hotfix-thrive-link
Nav hotfix thrive link
2 parents 5c5a685 + d2a405c commit f6632bc

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ workflows:
182182
filters:
183183
branches:
184184
only:
185-
- develop
186185
- feature-contentful
187186
# This is beta env for production soft releases
188187
- "build-prod-beta":

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ exports[`Default render 1`] = `
143143
"separator": true,
144144
},
145145
Object {
146-
"href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder",
146+
"href": "/thrive/tracks?track=Topcoder",
147147
"title": "Help",
148148
},
149149
Object {

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ module.exports = {
382382
{ separator: true },
383383
{
384384
title: 'Help',
385-
href: 'https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder',
385+
href: '/thrive/tracks?track=Topcoder',
386386
},
387387
{ separator: true },
388388
{

config/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ module.exports = {
189189
{ separator: true },
190190
{
191191
title: 'Help',
192-
href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder',
192+
href: '/thrive/tracks?track=Topcoder',
193193
},
194194
{ separator: true },
195195
{

src/shared/components/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const Header = ({
4949
}
5050

5151
useEffect(() => {
52-
setPath(window.location.pathname);
52+
setPath(window.location.pathname + window.location.search);
5353
}, []);
5454

5555
/*

0 commit comments

Comments
 (0)