app/decorators/issue_tracker_type_decorator.rb
# return hash of icons as data URIs
return hash of icons as data URIs
return hash of icons as data URIs
def icons
    return unless object.icons
    object.icons.reduce({}) do |c, (k, v)|
      c[k] = "data:#{v[0]};base64,#{Base64.encode64(v[1])}"
      c
    end
  end
def icons return unless object . icons object . icons . reduce ( { } ) do | c , ( k , v ) | c [ k ] = "data:#{v[0]};base64,#{Base64.encode64(v[1])}" c end end
return hash of icons as data URIs
return hash of icons as data URIs