mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-23 00:56:23 +01:00
Hide interaction menu items for non-same-instance statuses
This commit is contained in:
parent
2a80c42c87
commit
5882228b97
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ function Status({
|
|||
</MenuItem>
|
||||
)}
|
||||
{(!isSizeLarge || !!editedAt) && <MenuDivider />}
|
||||
{!isSizeLarge && (
|
||||
{!isSizeLarge && sameInstance && (
|
||||
<>
|
||||
<MenuItem onClick={replyStatus}>
|
||||
<Icon icon="reply" />
|
||||
|
@ -471,7 +471,7 @@ function Status({
|
|||
<span>Translate</span>
|
||||
</MenuItem>
|
||||
)}
|
||||
{(!isSizeLarge || enableTranslate) && <MenuDivider />}
|
||||
{((!isSizeLarge && sameInstance) || enableTranslate) && <MenuDivider />}
|
||||
<MenuItem href={url} target="_blank">
|
||||
<Icon icon="external" />
|
||||
<small class="menu-double-lines">{nicePostURL(url)}</small>
|
||||
|
|
Loading…
Reference in a new issue