Skip to content

Commit

Permalink
fix: revert toastref.groupref assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
shhdharmen committed Dec 10, 2024
1 parent c3ec7a1 commit a99204a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,9 @@ export class HotToastComponent implements OnInit, AfterViewInit, OnDestroy, OnCh
return this.groupRefs.filter((ref) => !!ref);
}
set groupChildrenToastRefs(value: CreateHotToastRef<unknown>[]) {
// maybe below will prevent execution in ngDoCheck?
// (this.toastRef as { groupRefs: CreateHotToastRef<unknown>[] }).groupRefs = value;

this.groupRefs = value;

(this.toastRef as { groupRefs: CreateHotToastRef<unknown>[] }).groupRefs = value;
}

get groupChildrenToasts() {
Expand Down

0 comments on commit a99204a

Please sign in to comment.