bugfix(community): Show popup for infinite supply collectibles (#14410)
This commit is contained in:
parent
406f12d239
commit
73cee9eebf
|
@ -335,8 +335,8 @@ StatusDropdown {
|
||||||
|
|
||||||
//When the collectible is unique, there is no need for the user to select amount
|
//When the collectible is unique, there is no need for the user to select amount
|
||||||
//Just send the add/update events
|
//Just send the add/update events
|
||||||
if((item.supply && item.supply.toString() === "1")
|
if((!item.infiniteSupply && (item.supply && item.supply.toString() === "1")
|
||||||
|| (item.remainingSupply && item.remainingSupply.toString() === "1")) {
|
|| (item.remainingSupply && item.remainingSupply.toString() === "1"))) {
|
||||||
root.collectibleAmount = "1"
|
root.collectibleAmount = "1"
|
||||||
d.updateSelected ? root.updateCollectible(root.collectibleKey, "1")
|
d.updateSelected ? root.updateCollectible(root.collectibleKey, "1")
|
||||||
: root.addCollectible(root.collectibleKey, "1")
|
: root.addCollectible(root.collectibleKey, "1")
|
||||||
|
|
Loading…
Reference in New Issue