Skip to content

Commit

Permalink
Show "Actor" when an actor has an empty role (#1055)
Browse files Browse the repository at this point in the history
* Show "Actor" when an actor has an empty role

* bugfix
  • Loading branch information
cewert authored Mar 15, 2023
1 parent 6b255e9 commit d213158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/extras/ExtrasRowList.brs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d213158

Please sign in to comment.