File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,9 @@ export class SBController {
174
174
. mergeMap ( ( route : any ) => {
175
175
this . currentControl = route . routeConfig . path . split ( '/' ) [ 1 ] ;
176
176
this . prevControl = ! this . prevControl ? this . currentControl : this . prevControl ;
177
- this . sampleName = this . initCap ( this . currentControl ) + ' / ' + route . routeConfig . name ;
177
+ let catRegex : RegExp = new RegExp ( route . routeConfig . category , 'i' ) ;
178
+ this . sampleName = ( this . initCap ( this . currentControl ) + ( ( ! catRegex . test ( this . currentControl ) ) ?
179
+ ( ' / ' + route . routeConfig . category ) : '' ) + ' / ' + route . routeConfig . name ) ;
178
180
return route . data ;
179
181
} )
180
182
. subscribe ( ( event : any ) => {
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ ul#themelist {
531
531
532
532
.property-panel-table div {
533
533
padding-left : 10px ;
534
- margin -top: 10px ;
534
+ padding -top: 10px ;
535
535
}
536
536
537
537
.property-panel-section {
You can’t perform that action at this time.
0 commit comments