Fix some regression on display description diffs on activity (fixed #874)

stable
Andrey Antukh 2014-09-12 21:16:45 +02:00
parent 9f391ac6ac
commit a286814dc6
1 changed files with 1 additions and 1 deletions

View File

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