diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index c8be39086..c9a96cc80 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -248,6 +248,7 @@ class ProjectsController < ApplicationController @project.save end # This is the "info" view + current_team_switch(@project.team) @current_sort = @project.experiments_order end @@ -317,7 +318,6 @@ class ProjectsController < ApplicationController def load_projects_tree # Switch to correct team current_team_switch(@project.team) unless @project.nil? - if current_user.teams.any? @current_team = current_team if current_team