mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-] update library to use new js-api 3.0.0 (#4097)
This commit is contained in:
committed by
Eugenio Romano
parent
2acd1b4e26
commit
3ef7d3b7ea
@@ -30,14 +30,14 @@ export class ObjectDataColumn implements DataColumn {
|
||||
cssClass: string;
|
||||
template?: TemplateRef<any>;
|
||||
|
||||
constructor(obj: any) {
|
||||
this.key = obj.key;
|
||||
this.type = obj.type || 'text';
|
||||
this.format = obj.format;
|
||||
this.sortable = obj.sortable;
|
||||
this.title = obj.title;
|
||||
this.srTitle = obj.srTitle;
|
||||
this.cssClass = obj.cssClass;
|
||||
this.template = obj.template;
|
||||
constructor(input: any) {
|
||||
this.key = input.key;
|
||||
this.type = input.type || 'text';
|
||||
this.format = input.format;
|
||||
this.sortable = input.sortable;
|
||||
this.title = input.title;
|
||||
this.srTitle = input.srTitle;
|
||||
this.cssClass = input.cssClass;
|
||||
this.template = input.template;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user