fix(dossier): fix rebase with drop down options

This commit is contained in:
Paul Chavard 2023-01-06 12:57:15 +01:00
parent 06b8a0f734
commit 5a4cefc5c5
6 changed files with 160 additions and 16 deletions

View file

@ -62,7 +62,7 @@ class ProcedureRevisionChange
case attribute
when :drop_down_options
(from - to).empty?
(from - to).empty? || dossier&.can_rebase_drop_down_options_change?(stable_id, from - to)
when :drop_down_other
!from && to
when :mandatory