From e4a651c223be7793833b958399da97bf345cbf6f Mon Sep 17 00:00:00 2001 From: Nicolas Brousse Date: Wed, 7 Aug 2024 17:20:44 +0200 Subject: [PATCH] Update app/helpers/servers_helper.rb Co-authored-by: B-Rass --- app/helpers/servers_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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