Skip to content

Commit

Permalink
Merge pull request #16789 from d-m-u/typo_thing
Browse files Browse the repository at this point in the history
Fixes spelling, you people
  • Loading branch information
gmcculloug authored Jan 10, 2018
2 parents c025d68 + f408373 commit 53141a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/dialog_field_sorted_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ def determine_selected_default_value

def raw_values
@raw_values ||= dynamic ? values_from_automate : static_raw_values
reject_extranneous_nil_values unless dynamic?
reject_extraneous_nil_values unless dynamic?
@raw_values = sort_data(@raw_values)
add_nil_option unless dynamic?
determine_selected_default_value
@raw_values
end

def reject_extranneous_nil_values
def reject_extraneous_nil_values
@raw_values = @raw_values.reject { |value| value[0].nil? }
end

Expand Down

0 comments on commit 53141a5

Please sign in to comment.