Skip to content

Commit

Permalink
Update components/ItemGrid/GridItem.bs
Browse files Browse the repository at this point in the history
Co-authored-by: 1hitsong <[email protected]>
  • Loading branch information
photonconvergence and 1hitsong authored Dec 4, 2023
1 parent 40d187b commit e8ac090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ItemGrid/GridItem.bs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sub itemContentChanged()
if itemData = invalid then return

if itemData.type = "Movie"
if isValid(itemData.json.UserData.Played) and itemData.json.UserData.Played = true
if isValid(itemData.json) and isValid(itemData.json.UserData) and isValid(itemData.json.UserData.Played) and itemData.json.UserData.Played
m.playedIndicator.visible = true
end if

Expand Down

0 comments on commit e8ac090

Please sign in to comment.