mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-12 02:04:38 +08:00
16 lines
395 B
Text
16 lines
395 B
Text
|
_ = require 'underscore-plus'
|
||
|
React = require "react"
|
||
|
|
||
|
module.exports =
|
||
|
ThreadParticipants = React.createClass
|
||
|
displayName: 'ThreadParticipants'
|
||
|
|
||
|
render: ->
|
||
|
<div className="participants thread-participants">
|
||
|
{@_formattedParticipants()}
|
||
|
</div>
|
||
|
|
||
|
_formattedParticipants: ->
|
||
|
contacts = @props.thread_participants ? []
|
||
|
_.map(contacts, (c) -> c.displayName()).join(", ")
|