mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
[ACA-4361] Fix data column conflict (#6986)
* [ACA-4361] Fix data column conflict * * revert html
This commit is contained in:
parent
0b272b0de9
commit
5780b46acc
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -46,6 +46,6 @@ export class ObjectDataColumn implements DataColumn {
|
||||
this.copyContent = input.copyContent;
|
||||
this.focus = input.focus;
|
||||
this.sortingKey = input.sortingKey;
|
||||
this.header = input.template;
|
||||
this.header = input.header;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user