Update protocol name on save with link [SCI-6989]

This commit is contained in:
Anton 2022-07-14 12:59:12 +02:00
parent c5c6f73d32
commit e320571876

View file

@ -651,6 +651,7 @@ class Protocol < ApplicationRecord
# Link protocols if neccesary
if link_protocols
reload
self.name = clone.name
self.record_timestamps = false
self.added_by = current_user
self.parent = clone