From d21315885376b3219066d867a347d2242feec43c Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Wed, 15 Mar 2023 18:00:15 -0400 Subject: [PATCH] Show "Actor" when an actor has an empty role (#1055) * Show "Actor" when an actor has an empty role * bugfix --- components/extras/ExtrasRowList.brs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/extras/ExtrasRowList.brs b/components/extras/ExtrasRowList.brs index f066d9557..230622cdd 100644 --- a/components/extras/ExtrasRowList.brs +++ b/components/extras/ExtrasRowList.brs @@ -72,7 +72,7 @@ sub onPeopleLoaded() row = m.top.content.createChild("ContentNode") row.Title = tr("Cast & Crew") for each person in people - if person.json.type = "Actor" and person.json.Role <> invalid + if person.json.type = "Actor" and person.json.Role <> invalid and person.json.Role.ToStr().Trim() <> "" person.subTitle = "as " + person.json.Role else person.subTitle = person.json.Type