From a286814dc672e9293e3d60fc2390f98d96bc435c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 12 Sep 2014 21:16:45 +0200 Subject: [PATCH] Fix some regression on display description diffs on activity (fixed #874) --- app/coffee/modules/common/history.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/common/history.coffee b/app/coffee/modules/common/history.coffee index 7b7eda19..18269d9b 100644 --- a/app/coffee/modules/common/history.coffee +++ b/app/coffee/modules/common/history.coffee @@ -45,7 +45,7 @@ class HistoryController extends taiga.Controller return @.getHistory(@.type, @.objectId).then (history) => for historyResult in history # If description was modified take only the description_html field - if historyResult.values_diff.description? + if historyResult.values_diff.description_diff? historyResult.values_diff.description = historyResult.values_diff.description_diff delete historyResult.values_diff.description_html