[ACA-4361] Fix data column conflict (#6986)

* [ACA-4361] Fix data column conflict

* * revert html
This commit is contained in:
Dharan
2021-05-07 23:09:39 +05:30
committed by GitHub
parent 0b272b0de9
commit 5780b46acc
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}
}
}