Add createdAt to territory header
This commit is contained in:
parent
c0ffbc401a
commit
3cd80a54f6
|
@ -43,6 +43,8 @@ export function TerritoryInfo ({ sub }) {
|
||||||
<Link href={`/${sub.user.name}`}>
|
<Link href={`/${sub.user.name}`}>
|
||||||
@{sub.user.name}<span> </span><Hat className='fill-grey' user={sub.user} height={12} width={12} />
|
@{sub.user.name}<span> </span><Hat className='fill-grey' user={sub.user} height={12} width={12} />
|
||||||
</Link>
|
</Link>
|
||||||
|
<span>on </span>
|
||||||
|
<span className='fw-bold'>{new Date(sub.createdAt).toDateString()}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className='text-muted'>
|
<div className='text-muted'>
|
||||||
<span>post cost </span>
|
<span>post cost </span>
|
||||||
|
|
|
@ -5,6 +5,7 @@ import { COMMENTS_ITEM_EXT_FIELDS } from './comments'
|
||||||
export const SUB_FIELDS = gql`
|
export const SUB_FIELDS = gql`
|
||||||
fragment SubFields on Sub {
|
fragment SubFields on Sub {
|
||||||
name
|
name
|
||||||
|
createdAt
|
||||||
postTypes
|
postTypes
|
||||||
allowFreebies
|
allowFreebies
|
||||||
rankingType
|
rankingType
|
||||||
|
|
Loading…
Reference in New Issue