mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-03 09:29:36 +00:00
Try fix tables
Some checks are pending
MacOS Build / build (20) (push) Waiting to run
MacOS 12 - x64 DMG Build / build (20) (push) Waiting to run
Ubuntu 22.04 - AppImage Build / build (20) (push) Waiting to run
Ubuntu 22.04 - x64 DEB Build / build (20) (push) Waiting to run
Ubuntu 24.04 - x64 DEB Build / build (20) (push) Waiting to run
Windows Installer Build / build (20) (push) Waiting to run
Windows Portable Build / build (20) (push) Waiting to run
Some checks are pending
MacOS Build / build (20) (push) Waiting to run
MacOS 12 - x64 DMG Build / build (20) (push) Waiting to run
Ubuntu 22.04 - AppImage Build / build (20) (push) Waiting to run
Ubuntu 22.04 - x64 DEB Build / build (20) (push) Waiting to run
Ubuntu 24.04 - x64 DEB Build / build (20) (push) Waiting to run
Windows Installer Build / build (20) (push) Waiting to run
Windows Portable Build / build (20) (push) Waiting to run
This commit is contained in:
parent
fb854862cf
commit
e32a8c76bd
3 changed files with 18 additions and 2 deletions
|
@ -63,6 +63,8 @@ export class NetworkComponent extends BasePageComponent implements AfterViewInit
|
|||
this.netStatsBytesOutChart.destroy();
|
||||
this.netStatsBytesOutChart = undefined;
|
||||
}
|
||||
|
||||
this.destroyTables();
|
||||
}
|
||||
else {
|
||||
this.initNetStatsHistoryChart();
|
||||
|
|
|
@ -52,7 +52,12 @@ export class PeersComponent extends BasePageComponent implements AfterViewInit {
|
|||
this.loadPublicNodesTable();
|
||||
});
|
||||
|
||||
this.subscriptions.push(sub);
|
||||
const statusSub: Subscription = this.daemonService.onDaemonStatusChanged.subscribe((running: boolean) => {
|
||||
if (running) this.loadTables();
|
||||
else this.destroyTables();
|
||||
});
|
||||
|
||||
this.subscriptions.push(sub, statusSub);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,16 @@ export class TransactionsComponent extends BasePageComponent implements AfterVie
|
|||
|
||||
const onSyncEndSub: Subscription = this.daemonData.syncEnd.subscribe(() => this.refresh());
|
||||
|
||||
this.subscriptions.push(onSyncEndSub);
|
||||
const statusSub: Subscription = this.daemonService.onDaemonStatusChanged.subscribe((running: boolean) => {
|
||||
if (running) {
|
||||
this.loadTables();
|
||||
}
|
||||
else {
|
||||
this.destroyTables();
|
||||
}
|
||||
});
|
||||
|
||||
this.subscriptions.push(onSyncEndSub, statusSub);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue