Skip to content

Commit

Permalink
work for #6205 fix angular build
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed Aug 16, 2023
1 parent 47b772e commit f60ced1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/survey-angular-ui/src/base-angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export abstract class BaseAngular<T extends Base = Base> extends EmbeddedViewCon
}
this.setIsRendering(true);
}
protected afterUpdate(key: string): void {
protected afterUpdate(key?: string): void {
if(this.getShouldReattachChangeDetector()) {
this.getChangeDetectorRef().reattach();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export class PopupBaseContainerComponent<T extends PopupBaseViewModel = PopupBas
this.changeDetectorRef.detectChanges();
}

protected override afterUpdate(key: string): void {
protected override afterUpdate(key?: string): void {
super.afterUpdate(key);

if(key === "isVisible") {
if(!!key && key === "isVisible") {
if (!this.prevIsVisible && this.model.isVisible) {
this.model.updateOnShowing();
}
Expand Down

0 comments on commit f60ced1

Please sign in to comment.