This commit is contained in:
seb
2026-10-04 22:47:26 +02:00
parent 8b401fa50b
commit a90069d340
44 changed files with 994 additions and 268 deletions

View File

@@ -312,9 +312,9 @@ export class ArticleTile extends Tile {
renderExtra() {
const { article } = this.props;
if (!article) return null;
const isFather = Boolean(article.isFather || article.is_father);
const isParent = Boolean(article.isParent || article.is_parent);
const childCount = Number(article.childCount) || 0;
if (!isFather && childCount <= 0) return null;
if (!isParent && childCount <= 0) return null;
return (
<Box
sx={{