File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/shared/components/ProfilePage/TcaCertificates/List Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ module.exports = {
5
5
USER_SETTINGS : '' , /* No dev server is available for saved searches */
6
6
} ,
7
7
PLATFORM_SITE_URL : 'https://platform.topcoder-dev.com' ,
8
+ PLATFORMUI_SITE_URL : 'https://platform-ui.topcoder-dev.com' ,
8
9
} ;
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import PT from 'prop-types';
4
4
import './styles.scss' ;
5
5
import CourseBadge from '../CourseBadge' ;
6
6
7
+ const preventDefault = ev => ev . stopPropagation ( ) ;
8
+
7
9
const List = ( {
8
10
certificates,
9
11
onClick,
@@ -26,7 +28,7 @@ const List = ({
26
28
{ certificate . certificationTitle }
27
29
</ div >
28
30
< div styleName = "list-item_sub" >
29
- < a href = { `//${ certificate . providerUrl } ` } target = "blank" rel = "noopener" >
31
+ < a href = { `//${ certificate . providerUrl } ` } target = "blank" rel = "noopener" onClick = { preventDefault } >
30
32
by { certificate . provider }
31
33
</ a >
32
34
</ div >
You can’t perform that action at this time.
0 commit comments