Skip to content

Commit

Permalink
Don't copy and create a second array reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
somiaj committed Feb 13, 2024
1 parent b3bd8b7 commit a894768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%= label_for import_select_source => maketext('Import users from what file?'),
class => 'col-form-label col-form-label-sm col-sm-auto' =%>
<div class="col-auto">
<%= select_field 'action.import.source' => [ @$CSVList ],
<%= select_field 'action.import.source' => $CSVList,
id => 'import_select_source', class => 'form-select form-select-sm', dir => 'ltr' =%>
</div>
</div>
Expand Down

0 comments on commit a894768

Please sign in to comment.