u
This commit is contained in:
@@ -310,8 +310,11 @@ export class ArticleTile extends Tile {
|
||||
}
|
||||
|
||||
renderExtra() {
|
||||
const childCount = Number(this.props.article?.childCount) || 0;
|
||||
if (childCount <= 0) return null;
|
||||
const { article } = this.props;
|
||||
if (!article) return null;
|
||||
const isFather = Boolean(article.isFather || article.is_father);
|
||||
const childCount = Number(article.childCount) || 0;
|
||||
if (!isFather && childCount <= 0) return null;
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
|
||||
Reference in New Issue
Block a user