mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fixed column translation problem
This commit is contained in:
@@ -38,4 +38,18 @@ export class ContentColumnList {
|
||||
this.documentList.columns.push(column);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the title with the new value
|
||||
* @param column Column definition model.
|
||||
*/
|
||||
updateColumn(column: ContentColumnModel): void {
|
||||
if (this.documentList && column) {
|
||||
this.documentList.columns.forEach((tmpColumn) => {
|
||||
if (tmpColumn.source === column.source) {
|
||||
tmpColumn.title = column.title;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user