mirror of
https://github.com/mue/mue.git
synced 2026-07-15 13:03:55 +02:00
fix(ItemCard): prevent collection display when item is already added
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user