Fix active table experiment loading [SCI-8503]

This commit is contained in:
Andrej 2023-05-23 17:15:09 +02:00
parent 040b3bddce
commit fe2ae09a25

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