mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
Rubocop update
This commit is contained in:
parent
259b6dd256
commit
85e5a17509
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,8 @@ class SortedCountry
|
||||||
# no double select
|
# no double select
|
||||||
selected = quick_list.map(&:second).include?(selected) ? '' : selected
|
selected = quick_list.map(&:second).include?(selected) ? '' : selected
|
||||||
|
|
||||||
all_options = options_for_select([['---', '---']] + all_sorted_truncated, { selected: selected, disabled: ['---'] })
|
all_options = options_for_select([['---', '---']] + all_sorted_truncated,
|
||||||
|
{ selected: selected, disabled: ['---'] })
|
||||||
quick_options + all_options
|
quick_options + all_options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue