SCI-5223 return the missing method into controller

This commit is contained in:
miha 2020-11-16 15:49:26 +01:00
parent af37ea271f
commit ef880d8373

View file

@ -62,6 +62,17 @@ class ProjectsController < ApplicationController
end
end
def dt_state_load
respond_to do |format|
format.json do
render json: {
state: current_team.current_view_state(current_user)
.state.dig('projects', 'table')
}
end
end
end
def sidebar
current_task ||= current_task || nil
current_experiment ||= current_experiment || current_task&.experiment || nil