mirror of
https://github.com/funamitech/mastodon
synced 2024-12-02 08:48:39 +09:00
Fix translate button not being shown when the toot has no Content Warning
This commit is contained in:
parent
620b079a78
commit
afdd75e1f9
@ -432,7 +432,7 @@ class StatusContent extends React.PureComponent {
|
||||
/>
|
||||
{media}
|
||||
{extraMedia}
|
||||
{!hidden && translateButton}
|
||||
{translateButton}
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
@ -453,7 +453,7 @@ class StatusContent extends React.PureComponent {
|
||||
/>
|
||||
{media}
|
||||
{extraMedia}
|
||||
{!hidden && translateButton}
|
||||
{translateButton}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user