Revert "feat(revision): list updated placeholder option for generic type de champ"
This reverts commit fe0282e904
.
Continue 2bd33ada45b036f73f3fc78150621092e0667693
This commit is contained in:
parent
8c08d0295b
commit
d805114a72
4 changed files with 1 additions and 26 deletions
|
@ -385,18 +385,6 @@ class ProcedureRevision < ApplicationRecord
|
|||
stable_id: from_type_de_champ.stable_id
|
||||
}
|
||||
end
|
||||
if from_type_de_champ.placeholder != to_type_de_champ.placeholder
|
||||
changes << {
|
||||
model: :type_de_champ,
|
||||
op: :update,
|
||||
attribute: :placeholder,
|
||||
label: from_type_de_champ.libelle,
|
||||
private: from_type_de_champ.private?,
|
||||
from: from_type_de_champ.placeholder,
|
||||
to: to_type_de_champ.placeholder,
|
||||
stable_id: from_type_de_champ.stable_id
|
||||
}
|
||||
end
|
||||
if to_type_de_champ.drop_down_list?
|
||||
if from_type_de_champ.drop_down_list_options != to_type_de_champ.drop_down_list_options
|
||||
changes << {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue