mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 07:26:15 +08:00
Reverted deleted lines by accident
This commit is contained in:
parent
b26530a02f
commit
728b1fe491
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue