mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1781] Task List - the default columns must be localisable (#2517)
* Rename processlist.component.ts to process-list.component.ts Rename processlist.component.md to process-list.component.md * Add a root scope ADF_TASK_LIST into the json file Remove the hardcoded string from the component and use keys Refactoring json structure
This commit is contained in:
committed by
Eugenio Romano
parent
729270b138
commit
4d9591c76c
@@ -103,8 +103,8 @@ export class TaskListComponent implements OnChanges, OnInit, AfterContentInit {
|
||||
isStreamLoaded = false;
|
||||
|
||||
private defaultSchemaColumn: DataColumn[] = [
|
||||
{ type: 'text', key: 'name', title: 'Name', cssClass: 'full-width name-column', sortable: true },
|
||||
{ type: 'text', key: 'created', title: 'Created', cssClass: 'hidden', sortable: true }
|
||||
{ type: 'text', key: 'name', title: 'ADF_TASK_LIST.PROPERTIES.NAME', cssClass: 'full-width name-column', sortable: true },
|
||||
{ type: 'text', key: 'created', title: 'ADF_TASK_LIST.PROPERTIES.CREATED', cssClass: 'hidden', sortable: true }
|
||||
];
|
||||
|
||||
constructor(private taskListService: TaskListService) {
|
||||
|
Reference in New Issue
Block a user