fix: only show slot number for > 1
This commit is contained in:
parent
fbca08c5d4
commit
d3648834ba
|
@ -101,7 +101,7 @@ const ItemSlotComponent = (props) => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
{qty && <div className={classnames(
|
{qty && qty > 1 && <div className={classnames(
|
||||||
'qty',
|
'qty',
|
||||||
qtyClass,
|
qtyClass,
|
||||||
)}>{qty}</div>}
|
)}>{qty}</div>}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user