From 1d18a9668e358f8ae65f305d73b700706e73eb5d Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Fri, 23 Oct 2020 23:26:42 +0530 Subject: [PATCH] 0.0.83 --- index.html | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f078e35..0efea7f 100644 --- a/index.html +++ b/index.html @@ -828,7 +828,16 @@

My Balances

- Check Balance +
@@ -875,7 +884,7 @@

Activity

- Refresh + Refresh
Sent @@ -13060,7 +13069,7 @@ floGlobals.appObjects[token_app.master_configurations.TYPE_CASHIER_LIVE_STATUS][myFloID] = status; let receiverID = floGlobals.adminID; floCloudAPI.updateObjectData(token_app.master_configurations.TYPE_CASHIER_LIVE_STATUS, { receiverID }) - .then(res=>notify('Updated Cashier status to '+status)) + .then(res=>notify(`Cashier is ${status ? 'online' : 'offline'}`, 'success')) .catch(e=>{ console.error(e); notify('Failed to update Cashier status to '+status, 'error'); @@ -13243,8 +13252,8 @@ } } - function showActivities(){ - if(!activityLoaded){ + function showActivities(showRefresh = false){ + if(!activityLoaded || showRefresh){ depositActivityContainer.innerHTML = '' withdrawActivityContainer.innerHTML = '' payCashierActivityContainer.innerHTML = ''