mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4361] Fix data column conflict (#6986)
* [ACA-4361] Fix data column conflict * * revert html
This commit is contained in:
@@ -27,13 +27,13 @@ import { DataColumnComponent } from './data-column.component';
|
||||
export class DateColumnHeaderComponent {
|
||||
|
||||
@ContentChild(TemplateRef)
|
||||
public template: TemplateRef<any>;
|
||||
public header: TemplateRef<any>;
|
||||
|
||||
constructor(private columnComponent: DataColumnComponent) {}
|
||||
|
||||
ngAfterContentInit() {
|
||||
if (this.columnComponent) {
|
||||
this.columnComponent.header = this.template;
|
||||
this.columnComponent.header = this.header;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user