|
|
@ -44,7 +44,7 @@ module.exports = function(TimezoneService, currencyFilter, CustomFieldHelper) { |
|
|
|
switch(typeof(content)) { |
|
|
|
switch(typeof(content)) { |
|
|
|
case 'object': |
|
|
|
case 'object': |
|
|
|
if (content === null) { return ''; } |
|
|
|
if (content === null) { return ''; } |
|
|
|
return content.name || content.subject || ''; |
|
|
|
return content.name || content.subject || content.title || ''; |
|
|
|
case 'number': |
|
|
|
case 'number': |
|
|
|
return content; |
|
|
|
return content; |
|
|
|
default: |
|
|
|
default: |
|
|
|