Fixes getting users for assigned tasks.
This commit is contained in:
parent
b346764a36
commit
bb8fb3ec1f
@ -39,7 +39,7 @@ Task = (self, project) ->
|
|||||||
}
|
}
|
||||||
|
|
||||||
assigned_to = model.users[self.assigned_to]
|
assigned_to = model.users[self.assigned_to]
|
||||||
if assigned_to and typeof(assigned_to) != "object" and assigned_to != "request sent"
|
if self.assigned_to and typeof(assigned_to) != "object" and assigned_to != "request sent"
|
||||||
model.users[self.assigned_to] = "request sent"
|
model.users[self.assigned_to] = "request sent"
|
||||||
# FIXME: This should go directly to authd.
|
# FIXME: This should go directly to authd.
|
||||||
socket.send JSON.stringify {
|
socket.send JSON.stringify {
|
||||||
|
Loading…
Reference in New Issue
Block a user