Fixes getting users for assigned tasks.

master
Luka Vandervelden 2019-07-08 05:50:40 +02:00
parent b346764a36
commit bb8fb3ec1f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {