diff --git a/index.html b/index.html
index 7ac33ab..b5c38ad 100644
--- a/index.html
+++ b/index.html
@@ -15,6 +15,7 @@
+
-
+
@@ -1621,16 +1622,19 @@
upiIds: {}
}
floGlobals.isSubAdmin = floGlobals.subAdmins.includes(myFloID)
- Promise.all([floExchangeAPI.getSink(floExchangeAPI.serviceList.EXCHANGE), floExchangeAPI.getSink(floExchangeAPI.serviceList.CONVERT)])
- .then(([exchangeSink, convertSink]) => {
- floGlobals.exchangeSink = exchangeSink
- floGlobals.convertSink = convertSink
- console.log('Exchange sink: ', exchangeSink)
- console.log('Convert sink: ', convertSink)
- }).catch(error => {
- console.error(error)
- })
- refreshBalance()
+ Promise.all([
+ floExchangeAPI.getSink(floExchangeAPI.serviceList.EXCHANGE)
+ .catch(e => { console.error('EXCHANGE sink error:', e); return null; }),
+ floExchangeAPI.getSink(floExchangeAPI.serviceList.CONVERT)
+ .catch(e => { console.error('CONVERT sink error:', e); return null; })
+ ]).then(([exchangeSink, convertSink]) => {
+ floGlobals.exchangeSink = exchangeSink;
+ floGlobals.convertSink = convertSink;
+ console.log('Exchange sink: ', exchangeSink);
+ console.log('Convert sink: ', convertSink);
+ });
+
+ refreshBalance().catch(console.error);
if (floGlobals.isSubAdmin) {
cashierUI.renderRequests(Cashier.Requests);
Cashier.init().then(result => {
@@ -1655,7 +1659,7 @@
floGlobals.loaded = true
}).catch(error => {
console.error(error)
- //detectAdBlocker(error)
+ detectAdBlocker(error)
})
}
}).catch(error => {
@@ -1676,8 +1680,8 @@