hedgequantx 2.4.41 → 2.4.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +5 -2
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -262,11 +262,14 @@ const run = async () => {
|
|
|
262
262
|
await refreshStats();
|
|
263
263
|
}
|
|
264
264
|
} else {
|
|
265
|
-
//
|
|
266
|
-
await refreshStats();
|
|
265
|
+
// Clear screen first, show banner, then spinner while loading
|
|
267
266
|
console.clear();
|
|
268
267
|
await banner(false);
|
|
269
268
|
|
|
269
|
+
const spinner = ora({ text: 'LOADING DASHBOARD...', color: 'cyan' }).start();
|
|
270
|
+
await refreshStats();
|
|
271
|
+
spinner.succeed('READY');
|
|
272
|
+
|
|
270
273
|
const action = await dashboardMenu(currentService);
|
|
271
274
|
|
|
272
275
|
switch (action) {
|