Skip to content

Commit

Permalink
Use available batch.processedJobs value from Illuminate\Bus\Batch
Browse files Browse the repository at this point in the history
fixes #1311

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Sep 12, 2023
1 parent bea664a commit 48f8c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/screens/batches/preview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@
<div class="col">{{batch.failedJobs}}</div>
</div>
<div class="row">
<div class="col-md-2 text-muted">Completed Jobs<br><small>(Including Failed)</small></div>
<div class="col">{{ (batch.totalJobs-batch.pendingJobs) }} ({{batch.progress}}%)</div>
<div class="col-md-2 text-muted">Processed Jobs<br><small>(Including Failed)</small></div>
<div class="col">{{ (batch.processedJobs) }} ({{batch.progress}}%)</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 48f8c5c

Please sign in to comment.