|
|
@@ -76,14 +76,16 @@ function Feed(props) { |
|
|
|
} |
|
|
|
|
|
|
|
return ( |
|
|
|
<li className={props.recent ? 'fade-in' : 'fade-in-right'} key={entry.id}> |
|
|
|
<li className={props.recent ? 'fade-in' |
|
|
|
: 'fade-in-right'} key={entry.id}> |
|
|
|
|
|
|
|
<h4>{entry.direction == 'inbound' ? entry.from : entry.to} |
|
|
|
<PhoneSymbol inbound={entry.direction == 'inbound'}> |
|
|
|
</PhoneSymbol> |
|
|
|
</h4> |
|
|
|
|
|
|
|
<small>{(new Date(entry.created_at).toLocaleTimeString([], |
|
|
|
<small>{(new Date(entry.created_at).toLocaleDateString())} |
|
|
|
</small> <small>{(new Date(entry.created_at).toLocaleTimeString([], |
|
|
|
{hour: '2-digit', |
|
|
|
minute: '2-digit'}))} - {entry.call_type} |
|
|
|
</small> |
|
|
|