type detail and shared ui

This commit is contained in:
2026-04-27 02:49:46 +03:00
parent 192cb92c1e
commit 906120e6e6
9 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export default function PersonSpotlightRow({ personId, name, role, profilePath,
? (credits.crew || []).filter(c => c.job === 'Director')
: (credits.cast || [])
// Drop trivia / archival appearances and ultra-deep cuts.
.filter(c => COMMERCIAL_DEPARTMENTS.includes((c as any).department || 'Acting'))
.filter(c => COMMERCIAL_DEPARTMENTS.includes(c.department || 'Acting'))
// De-dupe by id (a director may have multiple crew credits on one film
// when they're also writer; a cast member may appear twice for episodic