mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-14 12:43:24 +02:00
Fix regression in display of unknown squeak. (#1916)
This commit is contained in:
parent
5630df523d
commit
bb3c24b007
2 changed files with 8 additions and 2 deletions
|
|
@ -117,6 +117,9 @@ export default function SqueakDetailItem({
|
|||
};
|
||||
|
||||
function PrivateMessageRecipient() {
|
||||
if (!squeak || squeak.getIsPrivate()) {
|
||||
return (<></>)
|
||||
}
|
||||
return (
|
||||
<PrivateSqueakIndicator squeak={squeak}>
|
||||
</PrivateSqueakIndicator>
|
||||
|
|
@ -316,7 +319,7 @@ export default function SqueakDetailItem({
|
|||
</Box>
|
||||
</Grid>
|
||||
</Grid>
|
||||
{squeak.getIsPrivate() && PrivateMessageRecipient()}
|
||||
{PrivateMessageRecipient()}
|
||||
<Grid
|
||||
container
|
||||
direction="row"
|
||||
|
|
|
|||
|
|
@ -62,6 +62,9 @@ export default function SqueakThreadItem({
|
|||
};
|
||||
|
||||
function PrivateMessageRecipient() {
|
||||
if (!squeak || squeak.getIsPrivate()) {
|
||||
return (<></>)
|
||||
}
|
||||
return (
|
||||
<PrivateSqueakIndicator squeak={squeak}>
|
||||
</PrivateSqueakIndicator>
|
||||
|
|
@ -184,7 +187,7 @@ export default function SqueakThreadItem({
|
|||
</Box>
|
||||
</Grid>
|
||||
</Grid>
|
||||
{squeak.getIsPrivate() && PrivateMessageRecipient()}
|
||||
{PrivateMessageRecipient()}
|
||||
<Grid
|
||||
container
|
||||
direction="row"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue