New moderation tools: block & mute #5572
3 changed files with 5 additions and 5 deletions
|
@ -329,7 +329,6 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
|
|||
{!isChannelUri && signingChannel && (
|
||||
<div className="claim-preview__channel-staked">
|
||||
<ChannelThumbnail uri={signingChannel.permanent_url} />
|
||||
{/* <ChannelStakedIndicator uri={signingChannel.permanent_url} inline /> */}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ function CommentMenuList(props: Props) {
|
|||
{__('Block')}
|
||||
</div>
|
||||
{activeChannelIsCreator && (
|
||||
<span className="comment__menu-help">Prevent this channel from interacting with you.</span>
|
||||
<span className="comment__menu-help">{__('Prevent this channel from interacting with you.')}</span>
|
||||
)}
|
||||
</MenuItem>
|
||||
)}
|
||||
|
@ -118,7 +118,9 @@ function CommentMenuList(props: Props) {
|
|||
<Icon aria-hidden icon={ICONS.MUTE} />
|
||||
{__('Mute')}
|
||||
</div>
|
||||
{activeChannelIsCreator && <span className="comment__menu-help">Hide this channel for you only.</span>}
|
||||
{activeChannelIsCreator && (
|
||||
<span className="comment__menu-help">{__('Hide this channel for you only.')}</span>
|
||||
)}
|
||||
</MenuItem>
|
||||
)}
|
||||
|
||||
|
|
|
@ -544,7 +544,6 @@ export function doFetchModBlockedList() {
|
|||
const blockListForChannel = channelBlockListData && channelBlockListData.blocked_channels;
|
||||
if (blockListForChannel) {
|
||||
blockListForChannel.forEach((blockedChannel) => {
|
||||
// REMOVE THIS
|
||||
if (blockedChannel.blocked_channel_name) {
|
||||
const channelUri = buildURI({
|
||||
channelName: blockedChannel.blocked_channel_name,
|
||||
|
@ -568,7 +567,7 @@ export function doFetchModBlockedList() {
|
|||
},
|
||||
});
|
||||
})
|
||||
.catch((err) => {
|
||||
.catch(() => {
|
||||
dispatch({
|
||||
type: ACTIONS.COMMENT_MODERATION_BLOCK_LIST_FAILED,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue