diff --git a/libs/components/src/dialog/dialog/dialog.component.html b/libs/components/src/dialog/dialog/dialog.component.html index a41a78e7113..c19dce7222c 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -6,7 +6,7 @@ cdkTrapFocus cdkTrapFocusAutoCapture > - @let showHeaderBorder = !isDrawer || background === "alt" || bodyHasScrolledFrom().top; + @let showHeaderBorder = !isDrawer || background() === "alt" || bodyHasScrolledFrom().top;
{{ title() }} - @if (subtitle) { + @if (subtitle(); as subtitleText) { - {{ subtitle }} + {{ subtitleText }} } @@ -57,8 +57,8 @@
- @let showFooterBorder = !isDrawer || background === "alt" || bodyHasScrolledFrom().bottom; + @let showFooterBorder = !isDrawer || background() === "alt" || bodyHasScrolledFrom().bottom;