fix(dossier): fix rebase with drop down options
This commit is contained in:
parent
06b8a0f734
commit
5a4cefc5c5
6 changed files with 160 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue