Skip to content

Commit

Permalink
Merge pull request #9894 from OleksandrYatsiuk/master
Browse files Browse the repository at this point in the history
fix ExpressionChangedAfterItHasBeenCheckedError error in p-accordion
  • Loading branch information
yigitfindikli authored Feb 19, 2021
2 parents 48874fc + 283e291 commit fbcdc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/accordion/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class AccordionTab implements AfterContentInit,OnDestroy {
this.loaded = true;
}

this.changeDetector.markForCheck();
this.changeDetector.detectChanges();
}
}

Expand Down

0 comments on commit fbcdc76

Please sign in to comment.