Fixes #3135 - history entries of ObjectManager::Attribute changes display wrong change information when value is removed.
This commit is contained in:
parent
3fd0609f61
commit
40c3e68924
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue