Fixes #3135 - history entries of ObjectManager::Attribute changes display wrong change information when value is removed.

This commit is contained in:
Rolf Schmidt 2020-10-29 15:41:57 +01:00 committed by Thorsten Eckel
parent 3fd0609f61
commit 40c3e68924

View file

@ -735,8 +735,10 @@ class App.GenericHistory extends App.ControllerModal
if item.value_to if item.value_to
if item.value_from if item.value_from
content += " #{ @T( 'to' ) }" content += ' 🡒'
content += " '#{ App.Utils.htmlEscape(item.value_to) }'" content += " '#{ App.Utils.htmlEscape(item.value_to) }'"
else if item.value_from
content += " 🡒 '-'"
newItem.records.push content newItem.records.push content