diff --git a/interface/resources/qml/hifi/commerce/wallet/Wallet.qml b/interface/resources/qml/hifi/commerce/wallet/Wallet.qml index eb4e1f7aa8..f8e2c9115b 100644 --- a/interface/resources/qml/hifi/commerce/wallet/Wallet.qml +++ b/interface/resources/qml/hifi/commerce/wallet/Wallet.qml @@ -100,6 +100,9 @@ Rectangle { console.log("Failed to get Available Updates", result.data.message); } else { exchangeMoneyButtonContainer.messagesWaiting = result.data.updates.length > 0; + if (!exchangeMoneyButtonContainer.messagesWaiting) { + sendToScript({method: 'clearShouldShowDotUpdates'}); + } } } } diff --git a/scripts/system/commerce/wallet.js b/scripts/system/commerce/wallet.js index 3a8462c5cb..5c312b0ec5 100644 --- a/scripts/system/commerce/wallet.js +++ b/scripts/system/commerce/wallet.js @@ -536,6 +536,10 @@ function fromQml(message) { shouldShowDotHistory = false; ui.messagesWaiting(shouldShowDotUpdates || shouldShowDotHistory); break; + case 'clearShouldShowDotUpdates': + shouldShowDotUpdates = false; + ui.messagesWaiting(shouldShowDotUpdates || shouldShowDotHistory); + break; case 'http.request': // Handled elsewhere, don't log. break; @@ -578,7 +582,7 @@ function notificationDataProcessPageHistory(data) { var shouldShowDotUpdates = false; function notificationPollCallbackUpdates(updatesArray) { - shouldShowDotUpdates = shouldShowDotUpdates || updatesArray.length > 0; + shouldShowDotUpdates = updatesArray.length > 0; ui.messagesWaiting(shouldShowDotUpdates || shouldShowDotHistory); if (updatesArray.length > 0) {