mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Fix code styling [SCI-3990][SCI-3993]
This commit is contained in:
parent
53402c9ce1
commit
2637aed853
1 changed files with 3 additions and 3 deletions
|
@ -78,21 +78,21 @@ module ReportExtends
|
|||
true,
|
||||
[:result],
|
||||
proc do |my_module|
|
||||
my_module.results.joins(:result_asset).select { |r| r.active? }
|
||||
my_module.results.joins(:result_asset).select(&:active?)
|
||||
end),
|
||||
ModuleElement.new([:result_tables],
|
||||
:result_tables,
|
||||
true,
|
||||
[:result],
|
||||
proc do |my_module|
|
||||
my_module.results.joins(:result_table).select { |r| r.active? }
|
||||
my_module.results.joins(:result_table).select(&:active?)
|
||||
end),
|
||||
ModuleElement.new([:result_texts],
|
||||
:result_texts,
|
||||
true,
|
||||
[:result],
|
||||
proc do |my_module|
|
||||
my_module.results.joins(:result_text).select { |r| r.active? }
|
||||
my_module.results.joins(:result_text).select(&:active?)
|
||||
end),
|
||||
ModuleElement.new([:activity],
|
||||
:activity,
|
||||
|
|
Loading…
Reference in a new issue