diff --git a/app/helpers/servers_helper.rb b/app/helpers/servers_helper.rb index d4d1e2023..06b9ec1f0 100644 --- a/app/helpers/servers_helper.rb +++ b/app/helpers/servers_helper.rb @@ -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