Fixes #3850 - If no date is set the UI show it's shown as NaN.NaN.NaN.
This commit is contained in:
parent
fb5ad0862b
commit
49162d32d0
1 changed files with 2 additions and 1 deletions
|
@ -300,9 +300,10 @@ class App.Controller extends Spine.Controller
|
|||
|
||||
frontendTimeUpdateItem: (item, currentVal) =>
|
||||
timestamp = item.attr('datetime')
|
||||
time = @humanTime(timestamp, item.hasClass('escalation'))
|
||||
return if timestamp is 'null'
|
||||
|
||||
# only do dom updates on changes
|
||||
time = @humanTime(timestamp, item.hasClass('escalation'))
|
||||
return if time is currentVal
|
||||
|
||||
newTitle = App.i18n.translateTimestamp(timestamp)
|
||||
|
|
Loading…
Reference in a new issue