Skip to content

Commit

Permalink
Fix comparison function when using extended URL
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Oct 5, 2023
1 parent 7d245df commit 4ea603d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/ui/compare.rb
Expand Up @@ -18,7 +18,7 @@ class Taginfo < Sinatra::Base
if params[:key].is_a?(Array)
params[:key].each_with_index do |key, index|
@data << {
:instance => params[:instance][index],
:instance => (params[:instance] ? params[:instance][index] : ''),
:key => key,
:value => (params[:value].is_a?(Array) ? (params[:value][index] == '' ? nil : params[:value][index]) : nil)
}
Expand Down

0 comments on commit 4ea603d

Please sign in to comment.