mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#211 Update system.js configs
This commit is contained in:
@@ -468,9 +468,11 @@ export class DocumentList implements OnInit, AfterViewChecked, AfterContentInit,
|
||||
|
||||
if (col.type === 'date') {
|
||||
let datePipe = new DatePipe();
|
||||
if (datePipe.supports(value)) {
|
||||
return datePipe.transform(value, col.format);
|
||||
}
|
||||
// TODO: review when angular 2 is released
|
||||
// .supports has been marked as private in RC2
|
||||
// if (datePipe.supports(value)) {
|
||||
return datePipe.transform(value, col.format);
|
||||
// }
|
||||
}
|
||||
|
||||
if (col.type === 'image') {
|
||||
|
Reference in New Issue
Block a user