mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +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]
|
new_checklists = step_params[:checklists_attributes]
|
||||||
|
|
||||||
if new_checklists
|
if new_checklists
|
||||||
new_checklists.each do |e|
|
new_checklists.to_h.each do |e|
|
||||||
list = PreviousChecklist.new(
|
list = PreviousChecklist.new(
|
||||||
e.second[:id].to_i,
|
e.second[:id].to_i,
|
||||||
e.second[:name]
|
e.second[:name]
|
||||||
|
|
Loading…
Reference in a new issue