Fix 'upload' code style issues (tslint)

This commit is contained in:
Denys Vuika
2016-06-16 13:37:23 +01:00
parent 326e25d99e
commit 7f93baf59c
5 changed files with 8 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ declare let __moduleName: string;
host: {'[class.dialog-show]': 'toggleShowDialog'},
pipes: [AlfrescoPipeTranslate]
})
export class FileUploadingDialogComponent implements OnInit{
export class FileUploadingDialogComponent implements OnInit {
isDialogActive: boolean = false;
@@ -60,7 +60,7 @@ export class FileUploadingDialogComponent implements OnInit{
}
ngOnInit() {
if(this._uploaderService.filesUpload$) {
if (this._uploaderService.filesUpload$) {
this._uploaderService.filesUpload$.subscribe((fileList: FileModel[]) => {
this.filesUploadingList = fileList;
if (this.filesUploadingList.length > 0) {
@@ -69,7 +69,7 @@ export class FileUploadingDialogComponent implements OnInit{
}
});
}
if(this._uploaderService.totalCompleted$) {
if (this._uploaderService.totalCompleted$) {
this._uploaderService.totalCompleted$.subscribe((total: number) => {
this.totalCompleted = total;
this.cd.detectChanges();