Skip to content

Commit

Permalink
fix(kit): Push fix directive change detection (#6681)
Browse files Browse the repository at this point in the history
Co-authored-by: taiga-family-bot <[email protected]>
  • Loading branch information
waterplea and taiga-family-bot authored Feb 5, 2024
1 parent df5e07d commit bdd144d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/kit/components/push/push-alert.template.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tui-push
*ngIf="!isDirective; else $any(context.content).template"
*ngIf="!isDirective; else directive"
[heading]="context.heading"
[timestamp]="context.timestamp"
[type]="context.type"
Expand Down Expand Up @@ -36,3 +36,6 @@
{{ context.buttons[context.buttons.length - 1] }}
</button>
</tui-push>
<ng-template #directive>
<ng-container *polymorpheusOutlet="context.content"></ng-container>
</ng-template>

0 comments on commit bdd144d

Please sign in to comment.