mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Only show clear button if it makes sense
This commit is contained in:
parent
0c6b0e662f
commit
754f7f5948
1 changed files with 5 additions and 4 deletions
|
@ -3,7 +3,8 @@
|
|||
h3 Workers
|
||||
|
||||
== slim :_workers
|
||||
.row
|
||||
- if workers.size > 0
|
||||
.row
|
||||
.span2
|
||||
form action="#{root_path}reset" method="post"
|
||||
button.btn.btn-primary.btn-block type="submit" title="If you kill -9 Sidekiq, this table can fill up with old data." Clear worker list
|
||||
|
|
Loading…
Add table
Reference in a new issue