Updated comment sorting to show only when more than 1 comment

• Updated:
- comment sorting to show only when more than 1 comment
This commit is contained in:
mgabdev 2020-05-27 01:30:24 -04:00
parent 3c7c7d2070
commit c5884b93f5

View File

@ -593,7 +593,7 @@ class Status extends ImmutablePureComponent {
<div className={[_s.default, _s.mr10, _s.ml10, _s.mb10, _s.borderColorSecondary, _s.borderBottom1PX].join(' ')} /> <div className={[_s.default, _s.mr10, _s.ml10, _s.mb10, _s.borderColorSecondary, _s.borderBottom1PX].join(' ')} />
{ {
!commentsLimited && !commentsLimited && descendantsIds.size > 1 &&
<div className={[_s.default, _s.px15, _s.py5, _s.mb5, _s.flexRow].join(' ')}> <div className={[_s.default, _s.px15, _s.py5, _s.mb5, _s.flexRow].join(' ')}>
<Text color='secondary' size='small'> <Text color='secondary' size='small'>
{intl.formatMessage(messages.sortBy)} {intl.formatMessage(messages.sortBy)}