Merge pull request #14581 from zfox23/MS20308_unknownItems

Fix MS20308: Allow users to checkout uncertifiable items
This commit is contained in:
Shannon Romano 2018-12-15 00:44:50 +00:00 committed by GitHub
commit a89c53cc52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1089,9 +1089,13 @@ Rectangle {
root.itemInfoReceived = true;
root.itemName = result.data.title;
root.itemPrice = result.data.cost;
root.itemHref = Account.metaverseServerURL + result.data.path;
root.itemAuthor = result.data.creator;
root.itemType = result.data.item_type || "unknown";
if (root.itemType === "unknown") {
root.itemHref = result.data.review_url;
} else {
root.itemHref = Account.metaverseServerURL + result.data.path;
}
itemPreviewImage.source = result.data.thumbnail_url;
refreshBuyUI();
}