From bb8fb3ec1f739317e4f104db0e6e3a77cc9dbec2 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Mon, 8 Jul 2019 05:50:40 +0200 Subject: [PATCH] Fixes getting users for assigned tasks. --- client/index.ls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {