From fe2ae09a25b73dfac27f7ce17747eed07826b10e Mon Sep 17 00:00:00 2001 From: Andrej Date: Tue, 23 May 2023 17:15:09 +0200 Subject: [PATCH] Fix active table experiment loading [SCI-8503] --- app/controllers/experiments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb index 4ead76bb4..934dbc52d 100644 --- a/app/controllers/experiments_controller.rb +++ b/app/controllers/experiments_controller.rb @@ -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