hide thread info when there are 0 replies
父节点
225380b248
当前提交
0a5e1772a5
|
|
@ -521,7 +521,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
const thread = this.state.thread;
|
const thread = this.state.thread;
|
||||||
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
||||||
if (!thread || this.props.showThreadInfo === false) {
|
if (!thread || this.props.showThreadInfo === false || thread.length <= 1) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
正在加载...
在新工单中引用