Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
dotCMS/core#16767 QA Feedback 2
Browse files Browse the repository at this point in the history
  • Loading branch information
fmontes committed Aug 12, 2019
1 parent cabdf7a commit ea03e96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ export class DotPageStateService {
* @memberof DotPageStateService
*/
getInternalNavigationState(): DotRenderedPageState {
return this.isInternalNavigation ? this.currentState : null;
if (this.isInternalNavigation) {
this.isInternalNavigation = false;
return this.currentState;
}

return null;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class DotPersonaSelectorComponent implements OnInit, OnChanges {
this.paginationService.url = `v1/page/${this.pageId}/personas`;

if (
changes.value &&
this.isPersonalizeStateUpdated(changes.value.previousValue, changes.value.currentValue)
) {
this.reloadPersonasListCurrentPage();
Expand Down

0 comments on commit ea03e96

Please sign in to comment.