if is not only in draft, its gonna be cloned anyway
This commit is contained in:
parent
20288fbb7d
commit
71e9240a7d
1 changed files with 0 additions and 3 deletions
|
@ -73,9 +73,6 @@ class ProcedureRevision < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def find_or_clone_type_de_champ(stable_id)
|
def find_or_clone_type_de_champ(stable_id)
|
||||||
# Ensure that if this is a child, it's parent is cloned to the new revision
|
|
||||||
clone_parent_to_draft_revision(stable_id)
|
|
||||||
|
|
||||||
coordinate, tdc = coordinate_and_tdc(stable_id)
|
coordinate, tdc = coordinate_and_tdc(stable_id)
|
||||||
|
|
||||||
if tdc.only_present_on_draft?
|
if tdc.only_present_on_draft?
|
||||||
|
|
Loading…
Add table
Reference in a new issue