Merge pull request #15223 from roxanneskelly/Case21807

Case 21807 - updatable items not showing up as updatable after clicking 'show updates' button. (master)
This commit is contained in:
Shannon Romano 2019-03-19 17:19:22 -07:00 committed by GitHub
commit e847c35b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ Item {
property string wornEntityID; property string wornEntityID;
property string updatedItemId; property string updatedItemId;
property string upgradeTitle; property string upgradeTitle;
property bool updateAvailable: root.updateItemId && root.updateItemId !== ""; property bool updateAvailable: root.updateItemId !== "";
property bool valid; property bool valid;
property bool standaloneOptimized; property bool standaloneOptimized;
property bool standaloneIncompatible; property bool standaloneIncompatible;

View file

@ -523,9 +523,9 @@ Rectangle {
item.cardBackVisible = false; item.cardBackVisible = false;
item.isInstalled = root.installedApps.indexOf(item.id) > -1; item.isInstalled = root.installedApps.indexOf(item.id) > -1;
item.wornEntityID = ''; item.wornEntityID = '';
item.upgrade_id = item.upgrade_id ? item.upgrade_id : "";
}); });
sendToScript({ method: 'purchases_updateWearables' }); sendToScript({ method: 'purchases_updateWearables' });
return data.assets; return data.assets;
} }
} }
@ -545,7 +545,7 @@ Rectangle {
delegate: PurchasedItem { delegate: PurchasedItem {
itemName: title; itemName: title;
itemId: id; itemId: id;
updateItemId: model.upgrade_id ? model.upgrade_id : ""; updateItemId: model.upgrade_id
itemPreviewImageUrl: preview; itemPreviewImageUrl: preview;
itemHref: download_url; itemHref: download_url;
certificateId: certificate_id; certificateId: certificate_id;