This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +29
-15
lines changed Expand file tree Collapse file tree 5 files changed +29
-15
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ module.exports = {
7
7
COMMUNITY_DOMAIN : "https://www.topcoder-dev.com" ,
8
8
PLATFORM_DOMAIN : "https://platform.topcoder-dev.com" ,
9
9
TAAS_APP : "https://platform.topcoder-dev.com/taas/myteams" ,
10
+ PLATFORM_UI : "https://platform-ui.topcoder-dev.com" ,
10
11
} ,
11
12
API : {
12
13
V3 : "https://api.topcoder-dev.com/v3" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ module.exports = {
7
7
COMMUNITY_DOMAIN : "https://www.topcoder.com" ,
8
8
PLATFORM_DOMAIN : "https://platform.topcoder.com" ,
9
9
TAAS_APP : "https://platform.topcoder.com/taas/myteams" ,
10
+ PLATFORM_UI : "https://platform-ui.topcoder.com" ,
10
11
} ,
11
12
API : {
12
13
V3 : "https://api.topcoder.com/v3" ,
Original file line number Diff line number Diff line change @@ -76,13 +76,29 @@ const AllAppsMenu = () => {
76
76
}
77
77
return (
78
78
< li className = "all-apps-menu-app" key = { app . path } >
79
- < Link
80
- to = { app . path }
81
- onClick = { ( e ) => closeMenu ( e , app ) }
82
- >
83
- < img src = { app . icon } alt = { `${ app . title } Icon` } />
84
- < span > { app . title } </ span >
85
- </ Link >
79
+ { ! ! app . link && (
80
+ < a
81
+ alt = { app . title }
82
+ href = { app . link }
83
+ >
84
+ < img
85
+ alt = { `${ app . title } Icon` }
86
+ src = { app . icon }
87
+ />
88
+ < span >
89
+ { app . title }
90
+ </ span >
91
+ </ a >
92
+ ) }
93
+ { ! app . link && (
94
+ < Link
95
+ to = { app . path }
96
+ onClick = { ( e ) => closeMenu ( e , app ) }
97
+ >
98
+ < img src = { app . icon } alt = { `${ app . title } Icon` } />
99
+ < span > { app . title } </ span >
100
+ </ Link >
101
+ ) }
86
102
</ li >
87
103
) ;
88
104
} ) }
Original file line number Diff line number Diff line change 165
165
font-size : 24px ;
166
166
}
167
167
168
- .all-apps-menu-app {
169
- width : 100% ;
170
- margin : 0 ;
171
- }
172
-
173
168
.all-apps-menu-popover-content {
174
169
padding : 0 ;
175
170
padding-top : 30px ;
Original file line number Diff line number Diff line change 1
1
/**
2
2
* Config for the All Apps menu.
3
3
*/
4
+ import config from "../../config" ;
4
5
import appDocumentationIcon from "../assets/images/learn.svg" ;
5
6
import appTaasIcon from "../assets/images/integrations.svg" ;
6
7
import appTaasAdminIcon from "../assets/images/taas-admin.png" ;
@@ -61,12 +62,12 @@ export const APP_CATEGORIES = [
61
62
] ,
62
63
} ,
63
64
{
64
- category : "Self Service " ,
65
+ category : "Work " ,
65
66
apps : [
66
67
{
67
- title : "Work " ,
68
+ title : "Self Service " ,
68
69
icon : earnIcon ,
69
- path : "/self-service" ,
70
+ link : ` ${ config . URL . PLATFORM_UI } /work/dashboard` ,
70
71
menu : [ ] ,
71
72
} ,
72
73
] ,
You can’t perform that action at this time.
0 commit comments