fix(dossier): when rebase creates a champ always push in to champs
This commit is contained in:
parent
02755f7372
commit
6363206c44
1 changed files with 1 additions and 5 deletions
|
@ -143,12 +143,8 @@ module DossierRebaseConcern
|
|||
champ = target_coordinate
|
||||
.type_de_champ
|
||||
.build_champ(params)
|
||||
if parent.is_a?(Dossier)
|
||||
parent.champs_public << champ
|
||||
else
|
||||
parent.champs << champ
|
||||
end
|
||||
end
|
||||
|
||||
def delete_champs_for_revision(stable_id)
|
||||
Champ
|
||||
|
|
Loading…
Reference in a new issue