diff --git a/client/index.ls b/client/index.ls index 2120753..801ff4f 100644 --- a/client/index.ls +++ b/client/index.ls @@ -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 {