Storing and fetching tags.

This commit is contained in:
2019-05-06 23:41:38 +02:00
parent 8f85ef7a1a
commit 8eb2dcfd89
4 changed files with 10 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ class Home extends React.Component {
<th>Site</th>
<th>Title</th>
<th>Actors</th>
<th>Tags</th>
</tr>
{this.props.releases.map(release => (
@@ -23,7 +24,8 @@ class Home extends React.Component {
<td>{ release.shootId || release.entryId }</td>
<td>{ release.site.name }</td>
<td>{ release.title }</td>
<td>{ release.actors && release.actors.map(actor => actor.name).join(', ') }</td>
<td>{ release.actors.map(actor => actor.name).join(', ') }</td>
<td>{ release.tags.map(tag => tag.tag).join(', ') }</td>
</tr>
))}
</table>