Skip to content

Commit

Permalink
Always enable print labels button on show observation page
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-nathan committed Jun 27, 2024
1 parent 1f2d5bb commit 84fc5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/tabs/observations_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def obs_change_tabs(obs)
end

def obs_details_links(obs)
return unless check_permission(obs)
return print_labels_button(obs) unless check_permission(obs)

[print_labels_button(obs),
obs_change_links(obs)].safe_join(" | ")
Expand Down

0 comments on commit 84fc5cc

Please sign in to comment.