mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
fix error on checklists
This commit is contained in:
parent
b48fa3f231
commit
75cc9d11df
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module StepsActions
|
|||
new_checklists = step_params[:checklists_attributes]
|
||||
|
||||
if new_checklists
|
||||
new_checklists.each do |e|
|
||||
new_checklists.to_h.each do |e|
|
||||
list = PreviousChecklist.new(
|
||||
e.second[:id].to_i,
|
||||
e.second[:name]
|
||||
|
|
Loading…
Reference in a new issue