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 = ''