From 2c023dfe22c749ac6c1c20f13e9afac409992cc6 Mon Sep 17 00:00:00 2001 From: hole-thu Date: Fri, 1 Apr 2022 03:42:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=8E=E7=BC=96=E8=BE=91=E6=8A=98=E5=8F=A0=E8=AD=A6=E5=91=8A?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Flows.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Flows.js b/src/Flows.js index 1af148b..5b39c62 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -222,7 +222,6 @@ class FlowItem extends PureComponent { is_quote, cached, attention, - can_del, do_filter_name, do_delete, do_edit_cw, @@ -297,7 +296,7 @@ class FlowItem extends PureComponent { 临时账号 )} {info.is_reported && R } - {!!do_delete && !!can_del && ( + {!!do_delete && !!info.can_del && ( { @@ -320,10 +319,10 @@ class FlowItem extends PureComponent { {info.blocked_count && ( {info.blocked_count} )} - {info.cw !== null && (!do_edit_cw || !can_del) && ( + {info.cw !== null && (!do_edit_cw || !info.can_del) && ( {info.cw} )} - {!!do_edit_cw && !!can_del && ( + {!!do_edit_cw && !!info.can_del && (