fix(section): display sections inside repetitions
This commit is contained in:
parent
b219b366ff
commit
5c8a5248a2
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ViewableChamp::SectionComponent < ApplicationComponent
|
|||
private
|
||||
|
||||
def to_sections(nodes:)
|
||||
nodes.map { _1.is_a?(Array) ? ViewableChamp::SectionComponent.new(nodes: _1, demande_seen_at: @demande_seen_at, profile: @profile, champs_by_stable_id_with_row: @champs_by_stable_id_with_row) : _1 }
|
||||
nodes.map { _1.is_a?(Array) ? ViewableChamp::SectionComponent.new(nodes: _1, demande_seen_at: @demande_seen_at, profile: @profile, champs_by_stable_id_with_row: @champs_by_stable_id_with_row, row_id: @row_id) : _1 }
|
||||
end
|
||||
|
||||
def champ_for_type_de_champ(type_de_champ)
|
||||
|
|
Loading…
Add table
Reference in a new issue