mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Single place for translate pipe
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user