Ensure location is correctly updated when replacing set from Checkout page

This commit is contained in:
Zach Fox 2018-03-28 11:31:51 -07:00
parent ca2fba675d
commit 0175028a88

View file

@ -96,6 +96,7 @@ Rectangle {
root.activeView = "checkoutFailure";
UserActivityLogger.commercePurchaseFailure(root.itemId, root.itemAuthor, root.itemPrice, !root.alreadyOwned, result.message);
} else {
root.certificateId = result.data.certificate_id;
root.itemHref = result.data.download_url;
if (result.data.categories.indexOf("Wearables") > -1) {
root.itemType = "wearable";