Updated Status to include note for deleted quoted status

• Updated:
- Status to include note for deleted quoted status
This commit is contained in:
mgabdev 2020-08-05 23:31:11 -05:00
parent 6ffb95a63e
commit 3c537e1f1f

View File

@ -558,9 +558,18 @@ class Status extends ImmutablePureComponent {
/>
{
!!status.get('quote') && !isChild &&
(!!status.get('quote') || status.get('has_quote')) && !isChild &&
<div className={[_s.default, _s.mt10, _s.px10].join(' ')}>
<Status status={status.get('quoted_status')} isChild intl={intl} />
{
!!status.get('quoted_status') &&
<Status status={status.get('quoted_status')} isChild intl={intl} />
}
{
!status.get('quoted_status') &&
<div className={[_s.default, _s.border1PX, _s.bgSubtle, _s.radiusSmall, _s.py15, _s.px15, _s.borderColorSecondary].join(' ')}>
<Text color='tertiary' size='medium'>The quoted gab is unavailable.</Text>
</div>
}
</div>
}