mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add published date to drawer
This commit is contained in:
parent
60711b53e4
commit
b3c793405c
1 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,12 @@ export class ListDetailsDrawer extends React.Component<RouteComponentProps & Pro
|
|||
{this.props.list.tagIds
|
||||
? <TagCloud tags={this.props.tags.filter((t: Tag) => this.props.list.tagIds.includes(t.id))} showLabel={true} />
|
||||
: null}
|
||||
{this.props.list.publishedDate
|
||||
? <div>
|
||||
<h3>First Published Date:</h3>
|
||||
{new Date(this.props.list.publishedDate).toDateString()}
|
||||
</div>
|
||||
: null}
|
||||
<Divider />
|
||||
<ButtonGroup style={{ display: "inherit" }}>
|
||||
{this.props.list.viewUrl && <SubscribeButton {...this.props.list} />}
|
||||
|
|
|
|||
Loading…
Reference in a new issue