File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
pages/Index/Settings/AdminCenter Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -218,13 +218,16 @@ function BasePanelGroup({
218
218
{ groupedPanels . map ( ( group ) => (
219
219
< Box key = { `group-${ group . id } ` } w = { '100%' } >
220
220
< Text
221
- fs = { 'italic' }
222
- ml = { '1rem' }
221
+ hidden = { ! group . label || ! expanded }
223
222
c = { vars . colors . primaryColors [ 7 ] }
224
223
key = { `group-label-${ group . id } ` }
224
+ style = { {
225
+ paddingLeft : '10px'
226
+ } }
225
227
>
226
228
{ group . label }
227
229
</ Text >
230
+ { group . label && < Divider c = { vars . colors . primaryColors [ 7 ] } /> }
228
231
{ group . panels ?. map (
229
232
( panel ) =>
230
233
! panel . hidden && (
Original file line number Diff line number Diff line change @@ -256,11 +256,6 @@ export default function AdminCenter() {
256
256
label : t `Reporting` ,
257
257
panelIDs : [ 'labels' , 'reports' ]
258
258
} ,
259
- {
260
- id : 'extend' ,
261
- label : t `Extend / Integrate` ,
262
- panelIDs : [ 'plugin' , 'machine' ]
263
- } ,
264
259
{
265
260
id : 'plm' ,
266
261
label : t `PLM` ,
@@ -270,6 +265,11 @@ export default function AdminCenter() {
270
265
'location-types' ,
271
266
'stocktake'
272
267
]
268
+ } ,
269
+ {
270
+ id : 'extend' ,
271
+ label : t `Extend / Integrate` ,
272
+ panelIDs : [ 'plugin' , 'machine' ]
273
273
}
274
274
] ;
275
275
} , [ ] ) ;
You can’t perform that action at this time.
0 commit comments