diff --git a/src/app/common/table/columns/ago-date/ago-date-column.component.html b/src/app/common/table/columns/ago-date/ago-date-column.component.html index 6d81eb12..c604cb64 100644 --- a/src/app/common/table/columns/ago-date/ago-date-column.component.html +++ b/src/app/common/table/columns/ago-date/ago-date-column.component.html @@ -4,7 +4,7 @@ {{ header() ?? (name | titlecase) }} extends AsyAbstractColu readonly header = input(); readonly sortable = input(true, { transform: booleanAttribute }); - @ContentChild(HeaderTemplateDirective, { read: TemplateRef }) headerTemplate?: TemplateRef; + readonly headerTemplate = contentChild(HeaderTemplateDirective, { read: TemplateRef }); } diff --git a/src/app/common/table/columns/date/date-column.component.html b/src/app/common/table/columns/date/date-column.component.html index 7fc325d1..00037523 100644 --- a/src/app/common/table/columns/date/date-column.component.html +++ b/src/app/common/table/columns/date/date-column.component.html @@ -4,7 +4,7 @@ {{ header() ?? (name | titlecase) }}