Skip to content

Commit 3708836

Browse files
author
pipeline
committed
feature(EJ2-4392): Development to Master Changes
1 parent a352b81 commit 3708836

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/common/sb.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ export class SBController {
174174
.mergeMap((route: any) => {
175175
this.currentControl = route.routeConfig.path.split('/')[1];
176176
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);
178180
return route.data;
179181
})
180182
.subscribe((event: any) => {

styles/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ ul#themelist {
531531

532532
.property-panel-table div {
533533
padding-left: 10px;
534-
margin-top: 10px;
534+
padding-top: 10px;
535535
}
536536

537537
.property-panel-section {

0 commit comments

Comments
 (0)