Fixes getting users for assigned tasks.

master
Luka Vandervelden 5 years ago
parent b346764a36
commit bb8fb3ec1f

@ -39,7 +39,7 @@ Task = (self, project) ->
}
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"
# FIXME: This should go directly to authd.
socket.send JSON.stringify {

Loading…
Cancel
Save