mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #3475 from artoscinote/ma_SCI_5979
Fix disabled refresh printers button [SCI-5979]
This commit is contained in:
commit
67330ab27f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
|||
<div class="update-printers">
|
||||
<%= form_with scope: :label_printer, url: create_fluics_label_printers_path do |form| %>
|
||||
<%= form.hidden_field :fluics_api_key, value: @fluics_api_key %>
|
||||
<%= button_tag type: 'submit', class: "btn btn-light", disabled: @fluics_api_key.present?.to_s do %>
|
||||
<%= button_tag type: 'submit', class: "btn btn-light", disabled: @fluics_api_key.blank? do %>
|
||||
<i class="fas fa-sync"></i>
|
||||
<%= t("users.settings.account.label_printer.update_printers") %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue