mirror of
https://github.com/gurnec/removeddit.git
synced 2026-03-11 08:54:27 +00:00
Show 'last edited' even when edit isn't available
This commit is contained in:
parent
6193f452c3
commit
9a0e3b8a79
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ const Comment = (props) => {
|
|||
<span className='comment-score'>{prettyScore(props.score)} point{(props.score !== 1) && 's'}</span>
|
||||
<span className='space' />
|
||||
<span className='comment-time' title={exactDateTime(props.created_utc)}>{prettyDate(props.created_utc)}</span>
|
||||
{props.hasOwnProperty('edited_body') &&
|
||||
{(props.hasOwnProperty('edited_body') || props.edited) &&
|
||||
<span className='comment-time' title={props.edited ? exactDateTime(props.edited) : 'within 3 minutes'}
|
||||
>* (last edited {prettyDate(props.edited ? props.edited : props.created_utc)})</span>}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue