mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 18:36:45 +02:00
Fix infinite loading when authing wallet during Checkout
This commit is contained in:
parent
11f5e7812b
commit
a588776b47
1 changed files with 2 additions and 2 deletions
|
@ -1160,14 +1160,14 @@ Rectangle {
|
||||||
function authSuccessStep() {
|
function authSuccessStep() {
|
||||||
if (!root.debugCheckoutSuccess) {
|
if (!root.debugCheckoutSuccess) {
|
||||||
root.activeView = "checkoutMain";
|
root.activeView = "checkoutMain";
|
||||||
} else {
|
|
||||||
root.activeView = "checkoutSuccess";
|
|
||||||
root.ownershipStatusReceived = false;
|
root.ownershipStatusReceived = false;
|
||||||
Commerce.alreadyOwned(root.itemId);
|
Commerce.alreadyOwned(root.itemId);
|
||||||
root.availableUpdatesReceived = false;
|
root.availableUpdatesReceived = false;
|
||||||
Commerce.getAvailableUpdates(root.itemId);
|
Commerce.getAvailableUpdates(root.itemId);
|
||||||
root.balanceReceived = false;
|
root.balanceReceived = false;
|
||||||
Commerce.balance();
|
Commerce.balance();
|
||||||
|
} else {
|
||||||
|
root.activeView = "checkoutSuccess";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue