From ef1ebfc491ccd61621b7d989df23fc07b264fed5 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Tue, 9 Nov 2021 22:47:49 +0800 Subject: [PATCH] Allow admins to delete comments as well. (#250) This is a follow-up to #235 --- ui/component/commentMenuList/view.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/component/commentMenuList/view.jsx b/ui/component/commentMenuList/view.jsx index 16b17f509..e2a2265ae 100644 --- a/ui/component/commentMenuList/view.jsx +++ b/ui/component/commentMenuList/view.jsx @@ -204,6 +204,7 @@ function CommentMenuList(props: Props) { {!disableRemove && activeChannelClaim && (activeChannelIsModerator || + activeChannelIsAdmin || activeChannelClaim.permanent_url === authorUri || activeChannelClaim.permanent_url === contentChannelPermanentUrl) && (