Skip to content

Commit

Permalink
refactor(bee): delete unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Jun 7, 2021
1 parent 8341174 commit 9c5e220
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/bee.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function main() {
});

// Fake process function to move newly created jobs in the UI through a few of the job states.
queue.process(async function (job) {
queue.process(async function () {
// Wait 5sec
await new Promise((res) => setTimeout(res, 5000));

Expand Down
4 changes: 2 additions & 2 deletions src/server/views/partials/dashboard/jobDetails.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
</div>

{{#if this.queue.IS_BULL}}
{{#if (isNumber this._progress)}}
<h5>Progress</h5>
{{#if (isNumber this._progress)}}
<div class="progress">
<div class="progress-bar
{{#eq jobState 'failed'}}
Expand All @@ -91,8 +91,8 @@
<pre>{{json this._progress true}}</pre>
{{/if}}
{{else if this.queue.IS_BULLMQ}}
{{#if (isNumber this.progress)}}
<h5>Progress</h5>
{{#if (isNumber this.progress)}}
<div class="progress">
<div class="progress-bar
{{#eq jobState 'failed'}}
Expand Down

0 comments on commit 9c5e220

Please sign in to comment.