#150 Fixed refresh icon on upload completed

This commit is contained in:
mauriziovitale84 2016-06-06 11:58:58 +01:00
parent 51158adb53
commit 9423a13337
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"name": "ng2-alfresco-upload",
"description": "Alfresco Angular2 Upload Component",
"version": "0.1.31",
"version": "0.1.32",
"author": "Alfresco Software, Ltd.",
"scripts": {
"typings": "typings install",

View File

@ -200,6 +200,7 @@ export class UploadService {
xmlHttpRequest.statusText,
xmlHttpRequest.response
);
this._filesUploadObserver.next(this._queue);
if (!uploadingFileModel.abort && !uploadingFileModel.error) {
if (this._totalCompletedObserver) {
this._totalCompletedObserver.next(++this.totalCompleted);