mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 21:24:23 +08:00
Fix assigned user dropdown on task create [SCI-12207]
This commit is contained in:
parent
138045f060
commit
492bff1a44
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class ExperimentsController < ApplicationController
|
|||
end
|
||||
|
||||
def assigned_users
|
||||
render json: User.where(id: @experiment.user_assignments.select(:user_id)),
|
||||
render json: @experiment.users,
|
||||
each_serializer: UserSerializer,
|
||||
user: current_user
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue