From 73cee9eebf04f573da02f96748e4aa66030479ec Mon Sep 17 00:00:00 2001 From: Cuteivist Date: Mon, 13 May 2024 12:59:49 +0200 Subject: [PATCH] bugfix(community): Show popup for infinite supply collectibles (#14410) --- ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml b/ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml index 735e39beee..a8d4e916e0 100644 --- a/ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml +++ b/ui/app/AppLayouts/Communities/popups/HoldingsDropdown.qml @@ -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")