mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Get categories from backend instead of site
This commit is contained in:
parent
de50eef9c7
commit
876001146a
1 changed files with 1 additions and 1 deletions
|
@ -81,6 +81,7 @@ Rectangle {
|
|||
root.activeView = "checkoutFailure";
|
||||
} else {
|
||||
root.itemHref = result.data.download_url;
|
||||
root.isWearable = result.data.categories.indexOf("Wearables") > -1;
|
||||
root.activeView = "checkoutSuccess";
|
||||
}
|
||||
}
|
||||
|
@ -833,7 +834,6 @@ Rectangle {
|
|||
itemName = message.params.itemName;
|
||||
root.itemPrice = message.params.itemPrice;
|
||||
itemHref = message.params.itemHref;
|
||||
root.isWearable = message.params.categories.indexOf("Wearables") > -1;
|
||||
setBuyText();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue