Skip to content

Commit

Permalink
Merge pull request #1958 from cewert/fix-person-details-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Oct 4, 2024
2 parents c53d374 + 3002ce0 commit 55d9298
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/data/PersonData.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ import "pkg:/source/utils/config.bs"

sub setFields()
json = m.top.json
m.top.Type = "Person"

if json = invalid then return

m.top.id = json.id
m.top.favorite = json.UserData.isFavorite
m.top.Type = "Person"
setPoster()
end sub

Expand Down

0 comments on commit 55d9298

Please sign in to comment.