Skip to content

Commit

Permalink
Fix action bar component in Angular: onModelChanged works incorrectly…
Browse files Browse the repository at this point in the history
… if container is not defined (#8349)
  • Loading branch information
dk981234 committed Jun 3, 2024
1 parent 6f8782f commit 4f4d356
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ActionBarComponent extends BaseAngular<ActionContainer> {
protected override onModelChanged() {
super.onModelChanged();
this.previousModel?.resetResponsivityManager();
if (!!this.model.hasActions && !!this.container) {
if (!!this.model.hasActions && !!this.container && !!this.container.nativeElement) {
this.model.initResponsivityManager(this.container.nativeElement);
}
}
Expand Down

0 comments on commit 4f4d356

Please sign in to comment.