fix repost button on DMs

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-04-27 23:11:24 +02:00
parent 7363d9c7f8
commit 79d313c4a8

View file

@ -632,7 +632,11 @@ class StatusActionBar extends ImmutablePureComponent<IStatusActionBar, IStatusAc
/>
{features.quotePosts && me ? (
<DropdownMenuContainer items={reblogMenu} onShiftClick={this.handleReblogClick}>
<DropdownMenuContainer
items={reblogMenu}
disabled={!publicStatus}
onShiftClick={this.handleReblogClick}
>
{reblogButton}
</DropdownMenuContainer>
) : (