mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-03 18:35:36 +08:00
Experiment table fix results counter [SCI-7744]
This commit is contained in:
parent
b7077b53b7
commit
2f6312de11
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ module Experiments
|
|||
|
||||
def results_presenter(my_module)
|
||||
{
|
||||
count: my_module.results.active.length,
|
||||
count: (my_module.archived_branch? ? my_module.results : my_module.results.active).length,
|
||||
url: results_my_module_path(my_module)
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue