From e8ac0901e7ea2a33470dd04db7098a0be13ebbd7 Mon Sep 17 00:00:00 2001 From: photonconvergence <116527579+photonconvergence@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:16:21 -0800 Subject: [PATCH] Update components/ItemGrid/GridItem.bs Co-authored-by: 1hitsong <3330318+1hitsong@users.noreply.github.com> --- components/ItemGrid/GridItem.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ItemGrid/GridItem.bs b/components/ItemGrid/GridItem.bs index 1ba0919154..e20e27cc44 100644 --- a/components/ItemGrid/GridItem.bs +++ b/components/ItemGrid/GridItem.bs @@ -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