mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +08:00
Fix active table experiment loading [SCI-8503]
This commit is contained in:
parent
040b3bddce
commit
fe2ae09a25
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class ExperimentsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_table
|
def load_table
|
||||||
active_view_mode = params[:view_mode] == 'active'
|
active_view_mode = params[:view_mode] != 'archived'
|
||||||
my_modules = nil
|
my_modules = nil
|
||||||
|
|
||||||
unless @experiment.archived_branch? && active_view_mode
|
unless @experiment.archived_branch? && active_view_mode
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue