mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Update protocol name on save with link [SCI-6989]
This commit is contained in:
parent
c5c6f73d32
commit
e320571876
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue