hedgequantx 2.4.42 → 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 -6
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -262,15 +262,14 @@ const run = async () => {
|
|
|
262
262
|
await refreshStats();
|
|
263
263
|
}
|
|
264
264
|
} else {
|
|
265
|
-
//
|
|
266
|
-
const spinner = ora({ text: 'LOADING...', color: 'cyan' }).start();
|
|
267
|
-
await refreshStats();
|
|
268
|
-
spinner.stop();
|
|
269
|
-
|
|
270
|
-
// Clear and display dashboard
|
|
265
|
+
// Clear screen first, show banner, then spinner while loading
|
|
271
266
|
console.clear();
|
|
272
267
|
await banner(false);
|
|
273
268
|
|
|
269
|
+
const spinner = ora({ text: 'LOADING DASHBOARD...', color: 'cyan' }).start();
|
|
270
|
+
await refreshStats();
|
|
271
|
+
spinner.succeed('READY');
|
|
272
|
+
|
|
274
273
|
const action = await dashboardMenu(currentService);
|
|
275
274
|
|
|
276
275
|
switch (action) {
|