Browse Source

不对管理员隐藏被拉黑内容

pull/16/head
hole-thu 3 years ago
parent
commit
6418387887
  1. 6
      src/Flows.js

6
src/Flows.js

@ -787,7 +787,7 @@ class FlowSidebar extends PureComponent {
)} )}
{replies_to_show.map( {replies_to_show.map(
(reply, i) => (reply, i) =>
!reply.blocked && ( (reply.can_del || !reply.is_blocked) && (
<LazyLoad <LazyLoad
key={i} key={i}
offset={1500} offset={1500}
@ -1026,7 +1026,7 @@ class FlowItemRow extends PureComponent {
.slice(0, PREVIEW_REPLY_COUNT) .slice(0, PREVIEW_REPLY_COUNT)
.map( .map(
(reply) => (reply) =>
!reply.blocked && ( (reply.can_del || !reply.is_blocked) && (
<Reply <Reply
key={reply.cid} key={reply.cid}
info={reply} info={reply}
@ -1209,7 +1209,7 @@ function FlowChunk(props) {
{!!props.title && <TitleLine text={props.title} />} {!!props.title && <TitleLine text={props.title} />}
{props.list.map( {props.list.map(
(info, ind) => (info, ind) =>
!info.blocked && ( (info.can_del || !info.is_blocked) && (
<LazyLoad <LazyLoad
key={info.key || info.pid} key={info.key || info.pid}
offset={500} offset={500}

Loading…
Cancel
Save