Skip to content

Commit

Permalink
upload cancel response fix
Browse files Browse the repository at this point in the history
  • Loading branch information
usama-jarral committed Apr 24, 2018
1 parent 45cea4e commit 199ad85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ng-uploader",
"version": "2.0.8",
"version": "2.0.9",
"license": "MIT",
"angular-cli": {},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pub-package.json
@@ -1,6 +1,6 @@
{
"name": "ng-uploader",
"version": "2.0.8",
"version": "2.0.9",
"license": "MIT",
"author": "Babar Bilal <babarxm2@gmail.com>",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/uploader/ng-uploader.ts
Expand Up @@ -133,6 +133,9 @@ export class NgUploader implements NgUploaderInterface {
vm.uploadAll();
} else {
this.uploadSource.next({
filename: vm.queue[index].file.name,
response: {},
data: vm.queue[index].data,
isAllUploaded: true
});
}
Expand Down

0 comments on commit 199ad85

Please sign in to comment.