This commit is contained in:
seb
2026-10-04 11:25:10 +02:00
parent dd8566eabc
commit 874d6c010f
16 changed files with 345 additions and 346 deletions

View File

@@ -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={{