mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed context menus for comment of deleted member
This commit is contained in:
parent
0da39ddeeb
commit
0424fcd099
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import NotAuthorContextMenu from './NotAuthorContextMenu';
|
|||
const CommentContextMenu = (props) => {
|
||||
const {member, admin} = useContext(AppContext);
|
||||
const comment = props.comment;
|
||||
const isAuthor = comment.member.uuid === member?.uuid;
|
||||
const isAuthor = member && comment.member?.uuid === member?.uuid;
|
||||
const isAdmin = !!admin;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue