File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
app/[locale]/dashboard/components Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ export function DashboardHeader({ currentPath }: { currentPath: string }) {
99 selected : currentPath . indexOf ( 'user' ) >= 0 ,
1010 disabled : false ,
1111 } ,
12- process . env . NEXT_PUBLIC_DATASPACE_FEATURE_ENABLED === 'true'
13- ? {
14- label : 'My Data Spaces' ,
15- url : `/dashboard/dataspace` ,
16- selected : currentPath . indexOf ( 'dataspace' ) >= 0 ,
17- disabled : false ,
18- }
19- : null ,
12+ ...( process . env . NEXT_PUBLIC_DATASPACE_FEATURE_ENABLED === 'true'
13+ ? [
14+ {
15+ label : 'My Data Spaces' ,
16+ url : `/dashboard/dataspace` ,
17+ selected : currentPath . indexOf ( 'dataspace' ) >= 0 ,
18+ disabled : false ,
19+ } ,
20+ ]
21+ : [ ] ) ,
2022 {
2123 label : 'My Organizations' ,
2224 url : `/dashboard/organization` ,
You can’t perform that action at this time.
0 commit comments