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
…#1315)

* Use available `batch.processedJobs` value from `Illuminate\Bus\Batch`

fixes #1311

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* Compile Assets

---------

Signed-off-by: Mior Muhammad Zaki <[email protected]>
Co-authored-by: crynobone <[email protected]>
  • Loading branch information
crynobone and crynobone authored Sep 12, 2023
1 parent bea664a commit 6eaf4ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=7e1968acfd75b8dc843675097962e3ce",
"/app.js": "/app.js?id=ff1533ec4a7afad65c5bd7bcc2cc7d7b",
"/app-dark.css": "/app-dark.css?id=15c72df05e2b1147fa3e4b0670cfb435",
"/app.css": "/app.css?id=4d6a1a7fe095eedc2cb2a4ce822ea8a5",
"/img/favicon.png": "/img/favicon.png?id=1542bfe8a0010dcbee710da13cce367f",
Expand Down
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 6eaf4ef

Please sign in to comment.