Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Aug 9, 2022
1 parent 9481f05 commit 604700c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/common/_autocompleter.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
data[:template] = template if template
data[:singleton] = singleton unless singleton.nil?
data['transform-function'] = transform_function if transform_function
data['on-add'] = transform_function if transform_function
data['on-remove'] = transform_function if transform_function
json = Array(f.object.send(existing_items_method)).map do |r|
{ item: { id: r.send(id_field),
id_field => r.send(id_field),
Expand Down

0 comments on commit 604700c

Please sign in to comment.