Skip to content

Commit

Permalink
Merge pull request #1661 from dmitry-sinina/_customers_auth_proto_ui
Browse files Browse the repository at this point in the history
CustomersAuth: render protocol name in same field with IP
  • Loading branch information
dmitry-sinina authored Dec 18, 2024
2 parents 35ac316 + aab5dce commit bdab72e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/admin/routing/customers_auths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ def update
column :name
column :enabled
column :reject_calls
column :transport_protocol, &:transport_protocol_name
column :ip
column :ip do |c|
c.transport_protocol_id.nil? ? c.ip : "#{c.transport_protocol_name} #{c.ip}"
end
column :pop
column :src_prefix
column :src_number_length do |c|
Expand Down

0 comments on commit bdab72e

Please sign in to comment.