Skip to content

Commit

Permalink
Merge branch 'master' into docs/folder-path-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke authored Sep 12, 2024
2 parents 00797a9 + 1511013 commit ce80903
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ export class TemplateActionService extends SyncServiceBase {
if (!this.container?.parent) {
await this.templateNavService.handleNavActionsFromChild(actions, this.container);
}
// HACK - ensure components checked for updates after processing
if (this.container?.cdr) {
this.container.cdr.markForCheck();
}
}
/** Optional method child component can add to handle post-action callback */
public async handleActionsCallback(actions: FlowTypes.TemplateRowAction[], results: any) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class TemplateContainerComponent implements OnInit, OnDestroy, ITemplateC
private componentDestroyed$ = new Subject<boolean>();
debugMode: boolean;

private get cdr() {
public get cdr() {
return this.injector.get(ChangeDetectorRef);
}

Expand Down

0 comments on commit ce80903

Please sign in to comment.