Skip to content

Commit

Permalink
fix(clone): le lien monavis est reinitialise lors du clonage
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit-MINT committed Jun 10, 2024
1 parent ab522a3 commit a8e382d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/procedure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ def clone(admin, from_library)
procedure.closing_notification_brouillon = false
procedure.closing_notification_en_cours = false
procedure.template = false
procedure.monavis_embed = nil

if !procedure.valid?
procedure.errors.attribute_names.each do |attribute|
Expand Down

0 comments on commit a8e382d

Please sign in to comment.