A cloned procedure should not have canonical relationship
This commit is contained in:
parent
a025fa124e
commit
24d237de9e
2 changed files with 10 additions and 0 deletions
|
@ -295,6 +295,7 @@ class Procedure < ApplicationRecord
|
|||
|
||||
procedure.cloned_from_library = from_library
|
||||
procedure.parent_procedure = self
|
||||
procedure.canonical_procedure = nil
|
||||
|
||||
if from_library
|
||||
procedure.service = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue