Fixes getting users for assigned tasks.

This commit is contained in:
Luka Vandervelden 2019-07-08 05:50:40 +02:00
parent b346764a36
commit bb8fb3ec1f

View File

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