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}
|
{media}
|
||||||
{extraMedia}
|
{extraMedia}
|
||||||
{!hidden && translateButton}
|
{translateButton}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -453,7 +453,7 @@ class StatusContent extends React.PureComponent {
|
||||||
/>
|
/>
|
||||||
{media}
|
{media}
|
||||||
{extraMedia}
|
{extraMedia}
|
||||||
{!hidden && translateButton}
|
{translateButton}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue