-
Notifications
You must be signed in to change notification settings - Fork 395
Page title is not correctly updated (#296) #328
Conversation
I am a little bit confused here, the build is working perfectly for my local and also I haven't modified anything on |
Thanks for the PR! The Travis builds have been failing for a while due to some other commit. I think this behavior should be added to |
@willshowell I have implemented the comments, please review. |
this.routeParamSubscription = this._route.parent.parent.params.subscribe( params => { | ||
let sectionName = params['section']; | ||
this._componentPageTitle.title = SECTIONS[sectionName]; | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try this, it's a little simpler
this.routeParamSubscription = this.params.subscribe(params => {
const sectionName = params['section'];
this._componentPageTitle.title = SECTIONS[sectionName];;
});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @willshowell, implemented the changes. Please review.
Pinging @jelbourn for review |
@jelbourn can you please review this. |
@willshowell shall I wait for the reviews? or should I try something else. I am really new to this please guide. |
@sumiet I think your approach is fine - the team will let you know if you need to try something else. I can't speak for them, but it looks like there is a race to get a stable release out soon, so fixing docs site bugs are probably a lower priority than usual. |
I'm trying to make the CI green first presently |
@willshowell @jelbourn Okay thanks for the updates. |
@amcdnl can you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hey, I am new to OSS and this would be my first contribution. Please review the PR.