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

@@ -19,7 +19,7 @@
import { Component, ViewChild, ElementRef, Input, Output, EventEmitter } from '@angular/core';
import { UploadService } from '../services/upload.service';
import { FileModel } from '../models/file.model';
import { AlfrescoTranslationService, AlfrescoPipeTranslate } from 'ng2-alfresco-core';
import { AlfrescoTranslationService } from 'ng2-alfresco-core';
import 'rxjs/Rx';
declare let componentHandler: any;
@@ -51,8 +51,7 @@ const ERROR_FOLDER_ALREADY_EXIST = 409;
selector: 'alfresco-upload-button',
moduleId: __moduleName,
templateUrl: './upload-button.component.html',
styleUrls: ['./upload-button.component.css'],
pipes: [AlfrescoPipeTranslate]
styleUrls: ['./upload-button.component.css']
})
export class UploadButtonComponent {