Merge pull request #1630 from jbargu/jg_sci_3279_3283

Step with Office Online files can be deleted, asset name is shown in activities screen [SCI-3279, 3283]
This commit is contained in:
Jure Grabnar 2019-04-02 17:59:51 +02:00 committed by GitHub
commit b679eb4a58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ module WopiUtil
.call(activity_type: type_of,
owner: current_user,
subject: @protocol,
team: current_team,
team: @protocol.my_module.experiment.project.team,
project: project,
message_items: message_items)
elsif @assoc.class == Result

View file

@ -104,7 +104,7 @@ class Extends
}.freeze
ACTIVITY_MESSAGE_ITEMS_TYPES =
ACTIVITY_SUBJECT_TYPES + %w(User Tag RepositoryColumn RepositoryRow Step)
ACTIVITY_SUBJECT_TYPES + %w(User Tag RepositoryColumn RepositoryRow Step Asset)
.freeze
ACTIVITY_TYPES = {