do not fold at attentions page
This commit is contained in:
@@ -640,7 +640,8 @@ class FlowItemRow extends PureComponent {
|
|||||||
this.needFold =
|
this.needFold =
|
||||||
FOLD_TAGS.indexOf(props.info.tag) > -1 &&
|
FOLD_TAGS.indexOf(props.info.tag) > -1 &&
|
||||||
(props.search_param === '热榜' || !props.search_param) &&
|
(props.search_param === '热榜' || !props.search_param) &&
|
||||||
window.config.fold;
|
window.config.fold &&
|
||||||
|
props.mode !== 'attention' && props.mode !== 'attention_finished';
|
||||||
this.state = {
|
this.state = {
|
||||||
replies: [],
|
replies: [],
|
||||||
reply_status: 'done',
|
reply_status: 'done',
|
||||||
@@ -961,6 +962,7 @@ class FlowItemQuote extends PureComponent {
|
|||||||
return (
|
return (
|
||||||
<FlowItemRow
|
<FlowItemRow
|
||||||
info={this.state.info}
|
info={this.state.info}
|
||||||
|
mode={this.props.mode}
|
||||||
show_sidebar={this.props.show_sidebar}
|
show_sidebar={this.props.show_sidebar}
|
||||||
token={this.props.token}
|
token={this.props.token}
|
||||||
is_quote={true}
|
is_quote={true}
|
||||||
@@ -998,6 +1000,7 @@ function FlowChunk(props) {
|
|||||||
)}
|
)}
|
||||||
<FlowItemRow
|
<FlowItemRow
|
||||||
info={info}
|
info={info}
|
||||||
|
mode={props.mode}
|
||||||
show_sidebar={props.show_sidebar}
|
show_sidebar={props.show_sidebar}
|
||||||
token={token}
|
token={token}
|
||||||
attention_override={
|
attention_override={
|
||||||
|
|||||||
Reference in New Issue
Block a user