Fix refresh task name from linked protocol [SCI-6992] (#4256)

This commit is contained in:
ajugo 2022-07-15 10:14:49 +02:00 committed by GitHub
parent 0d8d1270ce
commit 1cd5a35b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -255,7 +255,7 @@ class Protocol < ApplicationRecord
def self.clone_contents(src, dest, current_user, clone_keywords)
assets_to_clone = []
dest.update(description: src.description)
dest.update(description: src.description, name: src.name)
src.clone_tinymce_assets(dest, dest.team)
# Update keywords