diff --git a/src/ngx-uploader/directives/ng-file-drop.directive.ts b/src/ngx-uploader/directives/ng-file-drop.directive.ts index 7085f429..24e938ca 100644 --- a/src/ngx-uploader/directives/ng-file-drop.directive.ts +++ b/src/ngx-uploader/directives/ng-file-drop.directive.ts @@ -35,7 +35,7 @@ export class NgFileDropDirective implements OnInit, OnDestroy { } ngOnDestroy() { - if(this.uploadInput) { + if (this.uploadInput) { this.uploadInput.unsubscribe(); } }