Skip to content

Commit

Permalink
bugfix(community): Show popup for infinite supply collectibles
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuteivist committed May 7, 2024
1 parent bc1aa3b commit b285905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ StatusDropdown {

//When the collectible is unique, there is no need for the user to select amount
//Just send the add/update events
if((item.supply && item.supply.toString() === "1")
|| (item.remainingSupply && item.remainingSupply.toString() === "1")) {
if((!item.infiniteSupply && (item.supply && item.supply.toString() === "1")
|| (item.remainingSupply && item.remainingSupply.toString() === "1"))) {
root.collectibleAmount = "1"
d.updateSelected ? root.updateCollectible(root.collectibleKey, "1")
: root.addCollectible(root.collectibleKey, "1")
Expand Down

0 comments on commit b285905

Please sign in to comment.