mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-1287] compatibility with the new noUnusedLocals rule (#2170)
* support for noUnusedLocals rule * clean diagram components * code cleanup * Viewer fixes * code fixes * code fixes
This commit is contained in:
committed by
Mario Romano
parent
0f239a1fa3
commit
9d3962b3b5
@@ -16,13 +16,11 @@
|
||||
*/
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Observable } from 'rxjs/Observable';
|
||||
import { Subject } from 'rxjs/Rx';
|
||||
|
||||
@Injectable()
|
||||
export class FileUploadService {
|
||||
public remove = new Subject<string>();
|
||||
public onRemoveFile = this.remove.asObservable();
|
||||
remove = new Subject<string>();
|
||||
|
||||
emitFileRemoved(item: any) {
|
||||
this.remove.next(item);
|
||||
|
Reference in New Issue
Block a user