Update app/models/dossier.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
This commit is contained in:
parent
7cf1cdb47b
commit
0006a12aea
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ class Dossier < ApplicationRecord
|
|||
revision
|
||||
.children_of(scope)
|
||||
.flat_map { champs_index[_1.stable_id] || [] }
|
||||
.filter(&:child?)
|
||||
.filter(&:child?) # TODO: remove once bad data (child champ without a row id) is cleaned
|
||||
else
|
||||
revision
|
||||
.types_de_champ_for(scope:, root:)
|
||||
|
|
Loading…
Reference in a new issue