mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 13:12:39 +02:00
fix uses of updated_item_id that got lost
This commit is contained in:
parent
f5afc2033f
commit
416cde4c1f
2 changed files with 4 additions and 2 deletions
|
@ -42,7 +42,7 @@ Rectangle {
|
|||
property int itemEdition: -1;
|
||||
property bool hasSomethingToTradeIn: alreadyOwned && (itemEdition > 0); // i.e., don't trade in your artist's proof
|
||||
property bool isTradingIn: canUpdate && hasSomethingToTradeIn;
|
||||
property bool isStocking: (availability === 'not for sale') && (creator === Account.username) && ;
|
||||
property bool isStocking: (availability === 'not for sale') && (creator === Account.username) && !updated_item_id;
|
||||
property string certificateId;
|
||||
property double balanceAfterPurchase;
|
||||
property bool alreadyOwned: false; // Including proofs
|
||||
|
@ -61,6 +61,7 @@ Rectangle {
|
|||
property bool isInstalled;
|
||||
property bool canUpdate;
|
||||
property string availability: "available";
|
||||
property string updated_item_id: "";
|
||||
property string creator: "";
|
||||
property string baseAppURL;
|
||||
property int currentUpdatesPage: 1;
|
||||
|
@ -1101,6 +1102,7 @@ Rectangle {
|
|||
root.itemAuthor = result.data.creator;
|
||||
root.itemType = result.data.item_type || "unknown";
|
||||
root.availability = result.data.availability;
|
||||
root.updated_item_id = result.data.updated_item_id || ""
|
||||
root.creator = result.data.creator;
|
||||
if (root.itemType === "unknown") {
|
||||
root.itemHref = result.data.review_url;
|
||||
|
|
|
@ -122,7 +122,7 @@ Rectangle {
|
|||
marketplaceItem.attributions = result.data.attributions;
|
||||
marketplaceItem.license = result.data.license;
|
||||
marketplaceItem.availability = result.data.availability;
|
||||
marketplaceItem.updated_item_id = result.updated_item_id;
|
||||
marketplaceItem.updated_item_id = result.data.updated_item_id || "";
|
||||
marketplaceItem.created_at = result.data.created_at;
|
||||
marketplaceItemScrollView.contentHeight = marketplaceItemContent.height;
|
||||
itemsList.visible = false;
|
||||
|
|
Loading…
Reference in a new issue