Do not copy service info when cloning from library
This commit is contained in:
parent
faf08203df
commit
93d6d72df5
1 changed files with 4 additions and 0 deletions
|
@ -222,6 +222,10 @@ class Procedure < ApplicationRecord
|
|||
procedure.cloned_from_library = from_library
|
||||
procedure.parent_procedure = self
|
||||
|
||||
if from_library
|
||||
procedure.service = nil
|
||||
end
|
||||
|
||||
procedure
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue