Single place for translate pipe

This commit is contained in:
Denys Vuika
2016-09-17 19:56:55 +01:00
parent 22c91182af
commit 2c830d9693
30 changed files with 53 additions and 102 deletions

View File

@@ -28,8 +28,7 @@ import {
import {
MATERIAL_DESIGN_DIRECTIVES,
CONTEXT_MENU_DIRECTIVES,
AlfrescoPipeTranslate
CONTEXT_MENU_DIRECTIVES
} from 'ng2-alfresco-core';
import {
@@ -49,8 +48,7 @@ declare let __moduleName: string;
selector: 'alfresco-datatable',
styleUrls: ['./datatable.component.css'],
templateUrl: './datatable.component.html',
directives: [MATERIAL_DESIGN_DIRECTIVES, CONTEXT_MENU_DIRECTIVES],
pipes: [AlfrescoPipeTranslate]
directives: [MATERIAL_DESIGN_DIRECTIVES, CONTEXT_MENU_DIRECTIVES]
})
export class DataTableComponent implements OnInit, AfterViewChecked {