fix: hide empty status rows

This commit is contained in:
Peter Steinberger
2026-01-21 03:32:11 +00:00
parent a5a3ab958f
commit d1c2fc4bc8
4 changed files with 32 additions and 3 deletions

View File

@@ -203,6 +203,7 @@ const formatMediaUnderstandingLine = (decisions?: MediaUnderstandingDecision[])
})
.filter(Boolean);
if (parts.length === 0) return null;
if (parts.every((part) => part.endsWith(" none"))) return null;
return `📎 Media: ${parts.join(" · ")}`;
};