Skip to content

Commit

Permalink
chore(queuejobsbystate): skip order for bee-queue
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Feb 21, 2021
1 parent 306c3b6 commit bf5012e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/server/views/dashboard/queueJobsByState.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ async function _html(req, res) {
jobs,
jobsInStateCount: jobCounts[state],
disablePagination: queue.IS_BEE && (state === 'succeeded' || state === 'failed'),
disableOrdering: queue.IS_BEE,
currentPage: page,
pages,
pageSize,
Expand Down
2 changes: 2 additions & 0 deletions src/server/views/dashboard/templates/queueJobsByState.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
</ul>
</div>
</div>
{{#unless disableOrdering}}
<div class="btn-group">
<div class="dropdown">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
Expand All @@ -111,6 +112,7 @@
</ul>
</div>
</div>
{{/unless}}
</div>
</div>
</div>
Expand Down

0 comments on commit bf5012e

Please sign in to comment.