Merge pull request #5465 from rekonder/aj_SCI_8503

Fix active table experiment loading [SCI-8503]
This commit is contained in:
aignatov-bio 2023-05-23 21:13:39 +02:00 committed by GitHub
commit 98fe653ec1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,7 +109,7 @@ class ExperimentsController < ApplicationController
end
def load_table
active_view_mode = params[:view_mode] == 'active'
active_view_mode = params[:view_mode] != 'archived'
my_modules = nil
unless @experiment.archived_branch? && active_view_mode