From 882e4d6b454bcde33ee23c5ccfd0b3dfb1c46eb6 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Tue, 13 Mar 2018 15:13:41 -0700 Subject: [PATCH] Parse the string that comes from the backend --- interface/resources/qml/hifi/commerce/checkout/Checkout.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/resources/qml/hifi/commerce/checkout/Checkout.qml b/interface/resources/qml/hifi/commerce/checkout/Checkout.qml index 15a11cf0d7..463ba73071 100644 --- a/interface/resources/qml/hifi/commerce/checkout/Checkout.qml +++ b/interface/resources/qml/hifi/commerce/checkout/Checkout.qml @@ -144,7 +144,7 @@ Rectangle { // OR the ID of an "updated" item, we're updating. if (root.itemId === result.data.updates[i].item_id || root.itemId === result.data.updates[i].updated_item_id) { - if (root.itemEdition !== -1 && root.itemEdition !== result.data.updates[i].edition_number) { + if (root.itemEdition !== -1 && root.itemEdition !== parseInt(result.data.updates[i].edition_number)) { continue; } root.isUpdating = true;