styling fix

This commit is contained in:
Giga Chubinidze 2023-09-27 14:47:35 +04:00
parent da70fed43a
commit b53ac04577
3 changed files with 6 additions and 6 deletions

View file

@ -122,7 +122,7 @@ class AssetsController < ApplicationController
'marvinjs' => :move_chemical_structure_on_result, 'marvinjs' => :move_chemical_structure_on_result,
'gene_sequence' => :sequence_on_result_moved 'gene_sequence' => :sequence_on_result_moved
}.fetch(@asset.file.metadata[:asset_type], :result_file_moved) }.fetch(@asset.file.metadata[:asset_type], :result_file_moved)
log_result_activity( log_result_activity(
type_of, type_of,
@assoc, @assoc,

View file

@ -25,7 +25,7 @@ class GeneSequenceAssetsController < ApplicationController
def create def create
save_asset! save_asset!
case @parent case @parent
when Step when Step
log_activity('sequence_asset_added') log_activity('sequence_asset_added')
@ -34,10 +34,10 @@ class GeneSequenceAssetsController < ApplicationController
:sequence_on_result_added, :sequence_on_result_added,
@parent, @parent,
file: @asset.file_name, file: @asset.file_name,
user: current_user.id, user: current_user.id
) )
end end
head :ok head :ok
end end
@ -52,7 +52,7 @@ class GeneSequenceAssetsController < ApplicationController
:sequence_on_result_edited, :sequence_on_result_edited,
@parent, @parent,
file: @asset.file_name, file: @asset.file_name,
user: current_user.id, user: current_user.id
) )
end end

View file

@ -500,7 +500,7 @@ class Extends
task: [8, 58, 9, 59, *10..14, 35, 36, 37, 53, 54, *60..63, 138, 139, 140, 64, 66, 106, 126, 120, 132, task: [8, 58, 9, 59, *10..14, 35, 36, 37, 53, 54, *60..63, 138, 139, 140, 64, 66, 106, 126, 120, 132,
*146..148, 166, 246, 247, 248], *146..148, 166, 246, 247, 248],
task_protocol: [15, 22, 16, 18, 19, 20, 21, 17, 38, 39, 100, 111, 45, 46, 47, 121, 124, 115, 118, 127, 130, 137, task_protocol: [15, 22, 16, 18, 19, 20, 21, 17, 38, 39, 100, 111, 45, 46, 47, 121, 124, 115, 118, 127, 130, 137,
217, 168, 171, 177, 184, 185, 188, 189, *192..203, 222, 224, 225, 226, 236, *249..252, *274..278, 217, 168, 171, 177, 184, 185, 188, 189, *192..203, 222, 224, 225, 226, 236, *249..252, *274..278,
*287..290], *287..290],
task_inventory: [55, 56, 146, 147, 183], task_inventory: [55, 56, 146, 147, 183],
experiment: [*27..31, 57, 141, 165], experiment: [*27..31, 57, 141, 165],