@@ -211,13 +211,13 @@ export default function ApplicationHome() {
211
211
text : < TabLabel > { trans ( "home.profile" ) } </ TabLabel > ,
212
212
routePath : USER_PROFILE_URL ,
213
213
routeComp : UserProfileView ,
214
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { UserIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ UserIcon" { ...otherProps } width = { "24px" } /> ,
214
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { UserIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { UserIcon } { ...otherProps } width = { "24px" } /> ,
215
215
} ,
216
216
{
217
217
text : < TabLabel > { trans ( "home.news" ) } </ TabLabel > ,
218
218
routePath : NEWS_URL ,
219
219
routeComp : NewsView ,
220
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { NewsIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ NewsIcon" { ...otherProps } width = { "24px" } /> ,
220
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { NewsIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { NewsIcon } { ...otherProps } width = { "24px" } /> ,
221
221
visible : ( { user } ) => user . orgDev ,
222
222
style : { color : "red" } ,
223
223
} ,
@@ -226,15 +226,15 @@ export default function ApplicationHome() {
226
226
routePath : ORG_HOME_URL ,
227
227
routePathExact : false ,
228
228
routeComp : OrgView ,
229
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { WorkspacesIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ WorkspacesIcon" { ...otherProps } width = { "24px" } /> ,
229
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { WorkspacesIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { WorkspacesIcon } { ...otherProps } width = { "24px" } /> ,
230
230
visible : ( { user } ) => ! user . orgDev ,
231
231
} ,
232
232
{
233
233
text : < TabLabel > { trans ( "home.marketplace" ) } </ TabLabel > ,
234
234
routePath : MARKETPLACE_URL ,
235
235
routePathExact : false ,
236
236
routeComp : MarketplaceView ,
237
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { MarketplaceIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ MarketplaceIcon" { ...otherProps } width = { "24px" } /> ,
237
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { MarketplaceIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { MarketplaceIcon } { ...otherProps } width = { "24px" } /> ,
238
238
} ,
239
239
]
240
240
} ,
@@ -245,13 +245,13 @@ export default function ApplicationHome() {
245
245
text : < MoreFoldersWrapper > { trans ( "home.allFolders" ) } </ MoreFoldersWrapper > ,
246
246
routePath : FOLDERS_URL ,
247
247
routeComp : RootFolderListView ,
248
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { FolderIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ FolderIcon" { ...otherProps } width = { "24px" } /> ,
248
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { FolderIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { FolderIcon } { ...otherProps } width = { "24px" } /> ,
249
249
} ,
250
250
{
251
251
text : < TabLabel > { trans ( "home.allApplications" ) } </ TabLabel > ,
252
252
routePath : ALL_APPLICATIONS_URL ,
253
253
routeComp : HomeView ,
254
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { AppsIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ AppsIcon" { ...otherProps } width = { "24px" } /> ,
254
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { AppsIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { AppsIcon } { ...otherProps } width = { "24px" } /> ,
255
255
} ,
256
256
] ,
257
257
} ,
@@ -263,15 +263,15 @@ export default function ApplicationHome() {
263
263
text : < TabLabel > { trans ( "home.queryLibrary" ) } </ TabLabel > ,
264
264
routePath : QUERY_LIBRARY_URL ,
265
265
routeComp : QueryLibraryEditor ,
266
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeQueryLibraryIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ HomeQueryLibraryIcon" { ...otherProps } width = { "24px" } /> ,
266
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeQueryLibraryIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { HomeQueryLibraryIcon } { ...otherProps } width = { "24px" } /> ,
267
267
visible : ( { user } ) => user . orgDev ,
268
268
} ,
269
269
{
270
270
text : < TabLabel > { trans ( "home.datasource" ) } </ TabLabel > ,
271
271
routePath : DATASOURCE_URL ,
272
272
routePathExact : false ,
273
273
routeComp : DatasourceHome ,
274
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeDataSourceIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ HomeDataSourceIcon" { ...otherProps } width = { "24px" } /> ,
274
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeDataSourceIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { HomeDataSourceIcon } { ...otherProps } width = { "24px" } /> ,
275
275
visible : ( { user } ) => user . orgDev ,
276
276
onSelected : ( _ , currentPath ) => currentPath . split ( "/" ) [ 1 ] === "datasource" ,
277
277
} ,
@@ -284,7 +284,7 @@ export default function ApplicationHome() {
284
284
routePath : "/ee/6600ae8724a23f365ba2ed4c/admin" ,
285
285
routePathExact : false ,
286
286
routeComp : AppEditor ,
287
- icon : ( { selected, ...otherProps } ) => selected ? ( < MultiIconDisplay identifier = { EnterpriseIcon } { ...otherProps } width = { "24px" } /> ) : ( < MultiIconDisplay identifier = "/icon:svg/ EnterpriseIcon" { ...otherProps } width = { "24px" } /> ) ,
287
+ icon : ( { selected, ...otherProps } ) => selected ? ( < MultiIconDisplay identifier = { EnterpriseIcon } { ...otherProps } width = { "24px" } /> ) : ( < MultiIconDisplay identifier = { EnterpriseIcon } { ...otherProps } width = { "24px" } /> ) ,
288
288
visible : ( { user } ) => user . orgDev ,
289
289
} ,
290
290
] ,
@@ -309,7 +309,7 @@ export default function ApplicationHome() {
309
309
routePath : SETTING_URL ,
310
310
routePathExact : false ,
311
311
routeComp : Setting ,
312
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeSettingIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ HomeSettingIcon" { ...otherProps } width = { "24px" } /> ,
312
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { HomeSettingIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { HomeSettingIcon } { ...otherProps } width = { "24px" } /> ,
313
313
visible : ( { user } ) => user . orgDev ,
314
314
onSelected : ( _ , currentPath ) => currentPath . split ( "/" ) [ 1 ] === "setting" ,
315
315
}
@@ -322,7 +322,7 @@ export default function ApplicationHome() {
322
322
text : < TabLabel > { trans ( "home.trash" ) } </ TabLabel > ,
323
323
routePath : TRASH_URL ,
324
324
routeComp : TrashView ,
325
- icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { RecyclerIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = "/icon:svg/ RecyclerIcon" { ...otherProps } width = { "24px" } /> ,
325
+ icon : ( { selected, ...otherProps } ) => selected ? < MultiIconDisplay identifier = { RecyclerIcon } { ...otherProps } width = { "24px" } /> : < MultiIconDisplay identifier = { RecyclerIcon } { ...otherProps } width = { "24px" } /> ,
326
326
visible : ( { user } ) => user . orgDev ,
327
327
} ,
328
328
] ,
0 commit comments