pl-fe: display Expand/Collapse button when status.content is empty
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
99c5521e97
commit
fd15332d6a
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ const StatusContent: React.FC<IStatusContent> = React.memo(({
|
|||
<span className={clsx({ 'line-clamp-3': !expanded && lineClamp })} ref={spoilerNode}>
|
||||
<Emojify text={spoilerText} emojis={status.emojis} />
|
||||
</span>
|
||||
{status.content && expandable && (
|
||||
{expandable && (
|
||||
<Button
|
||||
className='ml-2 align-middle'
|
||||
type='button'
|
||||
|
|
Loading…
Reference in a new issue