Improved object done counter.

This commit is contained in:
Martin Edenhofer 2017-04-20 13:16:48 +02:00
parent de7fef8c18
commit 48208e3bcb

View file

@ -100,7 +100,7 @@ class Form extends App.Controller
if _.isEmpty(job)
@lastImport.html('')
return
countDone = job.result.created + job.result.updated + job.result.unchanged + job.result.skipped
countDone = job.result.created + job.result.updated + job.result.unchanged + job.result.skipped + job.result.failed
if !job.result.roles
job.result.roles = {}
for role_id, statistic of job.result.role_ids