Skip to content

Commit

Permalink
Update app/helpers/servers_helper.rb
Browse files Browse the repository at this point in the history
Co-authored-by: B-Rass <[email protected]>
  • Loading branch information
nicolas-brousse and B-Rass authored Aug 7, 2024
1 parent 33eb8eb commit e4a651c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/servers_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def link_to_port_by_type(label, type, port_data, position, card_id, port_id)

link_to label.to_s, edit_port_url, id: port_id, title: (port_data.present? ? "#{port_data.vlans}" : ""),
class: "border border-secondary port port#{port_class} #{port_data.try(:cable_color) ? port_data.try(:cable_color) : "empty"}",
data: { url: edit_port_url, position: position, type: type, controller: 'tooltip', bs_placement: 'top' }, target: :_top
data: { url: edit_port_url, position: , type: , controller: 'tooltip', bs_placement: 'top' }, target: :_top
end

private
Expand Down

0 comments on commit e4a651c

Please sign in to comment.