lib/sidekiq_unique_jobs/web/views/lock.erb in sidekiq-unique-jobs-8.0.1 vs lib/sidekiq_unique_jobs/web/views/lock.erb in sidekiq-unique-jobs-8.0.2

- old
+ new

@@ -5,12 +5,14 @@ </h3> </div> <div class="col-sm-7 table-responsive"> <% if @lock.info.none? %> <h3>No Lock Information Available</h3> - <p>To use it turn the following setting on: - <code>SidekiqUniqueJobs.config.lock_info = true</code> - </p> + <% unless SidekiqUniqueJobs.config.lock_info %> + <p>To use it turn the following setting on: + <code>SidekiqUniqueJobs.config.lock_info = true</code> + </p> + <% end %> <% else %> <table class="table table-striped table-bordered table-white table-hover"> <caption>Information about lock</caption> <tbody> <tr>