diff --git a/ui/component/commentMenuList/view.jsx b/ui/component/commentMenuList/view.jsx
index 7d7150c6c..ce279085c 100644
--- a/ui/component/commentMenuList/view.jsx
+++ b/ui/component/commentMenuList/view.jsx
@@ -23,6 +23,8 @@ type Props = {
isTopLevel: boolean,
commentModBlock: (string) => void,
playingUri: ?PlayingUri,
+ disableEdit?: boolean,
+ disableRemove?: boolean,
};
function CommentMenuList(props: Props) {
@@ -43,6 +45,8 @@ function CommentMenuList(props: Props) {
fetchComments,
commentModBlock,
playingUri,
+ disableEdit,
+ disableRemove,
} = props;
const activeChannelIsCreator = activeChannelClaim && activeChannelClaim.permanent_url === contentChannelPermanentUrl;
@@ -81,7 +85,8 @@ function CommentMenuList(props: Props) {
)}
- {activeChannelClaim &&
+ {!disableRemove &&
+ activeChannelClaim &&
(activeChannelClaim.permanent_url === authorUri ||
activeChannelClaim.permanent_url === contentChannelPermanentUrl) && (
)}
- {commentIsMine && activeChannelClaim && activeChannelClaim.permanent_url === authorUri && (
+ {commentIsMine && activeChannelClaim && activeChannelClaim.permanent_url === authorUri && !disableEdit && (