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

@@ -29,8 +29,7 @@ import {
import {
MDL,
AlfrescoContentService,
CONTEXT_MENU_DIRECTIVES,
AlfrescoPipeTranslate
CONTEXT_MENU_DIRECTIVES
} from 'ng2-alfresco-core';
import { PaginationComponent } from 'ng2-alfresco-datatable';
import { ALFRESCO_ULPOAD_COMPONENTS } from 'ng2-alfresco-upload';
@@ -52,8 +51,7 @@ declare let __moduleName: string;
CONTEXT_MENU_DIRECTIVES,
PaginationComponent
],
providers: [DOCUMENT_LIST_PROVIDERS, FormService],
pipes: [AlfrescoPipeTranslate]
providers: [DOCUMENT_LIST_PROVIDERS, FormService]
})
export class FilesComponent implements OnInit {
currentPath: string = '/Sites/swsdp/documentLibrary';