diff --git a/web/src/lib/components/asset-viewer/asset-viewer.svelte b/web/src/lib/components/asset-viewer/asset-viewer.svelte index 27597153c8..c519346e8b 100644 --- a/web/src/lib/components/asset-viewer/asset-viewer.svelte +++ b/web/src/lib/components/asset-viewer/asset-viewer.svelte @@ -142,6 +142,8 @@ }); if (data.length > 0) { isLiked = data[0]; + } else { + isLiked = null; } } catch (error) { handleError(error, "Can't get Favorite");