mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
Case 21769 - updatable items not showing up as updatable
after clicking 'show updates' button.
This commit is contained in:
parent
d88bee89e4
commit
94739aa7c7
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue