File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -124,11 +124,12 @@ export class BaoSystemHeaderComponent implements AfterViewInit, OnInit {
124124 if ( this . textContainerChildren [ 0 ] . className == 'bao-breadcrumb' ) {
125125 // Retrieve link of parent page
126126 const breadcrumbElementsList =
127- this . textContainerChildren [ 0 ] . children [ 0 ] . children [ 0 ] ;
127+ this . textContainerChildren [ 0 ] . children [ 0 ] ;
128128 const breadcrumbLength = breadcrumbElementsList . children . length ;
129129 const parentLink =
130- breadcrumbElementsList . children [ breadcrumbLength - 2 ] . children [ 0 ]
131- . attributes [ 'href' ] . value ;
130+ breadcrumbElementsList . children [ breadcrumbLength - 2 ] . attributes [
131+ 'href'
132+ ] . value ;
132133 // Remove Breadcrumb component and replace it with back button
133134 this . renderer . removeChild (
134135 this . textContainer . nativeElement ,
You can’t perform that action at this time.
0 commit comments