fix(ItemCard): prevent collection display when item is already added

This commit is contained in:
alexsparkes
2026-02-03 21:33:58 +00:00
parent 5246455aca
commit f0ff173b3b

View File

@@ -222,7 +222,7 @@ function ItemCard({
)}
</span>
)}
{item.in_collections && item.in_collections.length > 0 && !onCollection && (
{item.in_collections && item.in_collections.length > 0 && !onCollection && !isAdded && (
<span className="card-collection">
{item.in_collections[0].display_name || item.in_collections[0].name}
</span>