From c7111a29b11d9363836db471c9502cf46762fc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Hermida?= Date: Thu, 26 Apr 2018 07:49:32 +0200 Subject: [PATCH] Fix history unassigned --- taiga/projects/history/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taiga/projects/history/models.py b/taiga/projects/history/models.py index d24806f6..5d1dd08b 100644 --- a/taiga/projects/history/models.py +++ b/taiga/projects/history/models.py @@ -181,9 +181,9 @@ class HistoryEntry(models.Model): value_in = None value_out = None if diff_in: - value_in = ", ".join([resolve_value("users", x) for x in diff_in]) + value_in = ", ".join([resolve_value("users", x) for x in diff_in if x]) if diff_out: - value_out = ", ".join([resolve_value("users", x) for x in diff_out]) + value_out = ", ".join([resolve_value("users", x) for x in diff_out if x]) value = [value_in, value_out] elif key == "points": points = {}