Chat Report Panel: Fix error when no chat is present (#3319)
This commit is contained in:
parent
9789760e8a
commit
2d7d0ee3c9
@ -90,7 +90,7 @@ const ChatReportPanel: FC<OwnProps & StateProps> = ({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!settings) {
|
if (!settings || (!chat && !user)) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user