diff --git a/src/app/core/services/daemon/daemon.service.ts b/src/app/core/services/daemon/daemon.service.ts index 7c818fc..e1a260d 100644 --- a/src/app/core/services/daemon/daemon.service.ts +++ b/src/app/core/services/daemon/daemon.service.ts @@ -230,7 +230,7 @@ export class DaemonService { } private async openDatabase(): Promise> { - return await openDB(this.dbName, 1, { + return await openDB>(this.dbName, 1, { upgrade(db) { // Crea un archivio (store) per i settings se non esiste giĆ  if (!db.objectStoreNames.contains('settingsStore')) { diff --git a/src/app/pages/detail/detail.component.ts b/src/app/pages/detail/detail.component.ts index b64a7c5..2cf0775 100644 --- a/src/app/pages/detail/detail.component.ts +++ b/src/app/pages/detail/detail.component.ts @@ -139,7 +139,7 @@ export class DetailComponent implements AfterViewInit, OnDestroy { this.cards = this.createCards(); - this.subscriptions.push(this.daemonData.syncStart.subscribe((info) => { + this.subscriptions.push(this.daemonData.syncStart.subscribe((info) => { if(!info.first) { return; } @@ -150,7 +150,7 @@ export class DetailComponent implements AfterViewInit, OnDestroy { })); - this.subscriptions.push(this.daemonData.syncInfoRefreshEnd.subscribe(() => { + this.subscriptions.push(this.daemonData.syncInfoRefreshEnd.subscribe(() => { this.refreshTables(); this.cards = this.createCards(); diff --git a/src/app/pages/network/network.component.ts b/src/app/pages/network/network.component.ts index 87d9716..a9bb59f 100644 --- a/src/app/pages/network/network.component.ts +++ b/src/app/pages/network/network.component.ts @@ -41,11 +41,11 @@ export class NetworkComponent implements AfterViewInit, OnDestroy { new NavbarLink('pills-limits-tab', '#pills-limit', 'pills-limit', false, 'Limit') ]; - this.subscriptions.push(this.daemonData.netStatsRefreshEnd.subscribe(() => { + this.subscriptions.push(this.daemonData.netStatsRefreshEnd.subscribe(() => { this.refreshNetStatsHistory(); })); - this.subscriptions.push(this.daemonData.syncEnd.subscribe(() => { + this.subscriptions.push(this.daemonData.syncEnd.subscribe(() => { this.loadConnectionsTable(); })); diff --git a/src/app/pages/peers/peers.component.ts b/src/app/pages/peers/peers.component.ts index 70581fd..98640e3 100644 --- a/src/app/pages/peers/peers.component.ts +++ b/src/app/pages/peers/peers.component.ts @@ -66,7 +66,7 @@ export class PeersComponent implements AfterViewInit, OnDestroy { $publicNodesTable.bootstrapTable('load', this.daemonData.publicNodes); $peerListTable.bootstrapTable('load', this.daemonData.peerList); - const sub = this.daemonData.syncEnd.subscribe(() => { + const sub = this.daemonData.syncEnd.subscribe(() => { $publicNodesTable.bootstrapTable('load', this.daemonData.publicNodes); //$peerListTable.bootstrapTable('load', this.daemonData.peerList); }); diff --git a/src/app/pages/transactions/transactions.component.ts b/src/app/pages/transactions/transactions.component.ts index f31ada8..5b9bf48 100644 --- a/src/app/pages/transactions/transactions.component.ts +++ b/src/app/pages/transactions/transactions.component.ts @@ -100,7 +100,7 @@ export class TransactionsComponent implements AfterViewInit, OnDestroy { this.navbarService.setLinks(this.navbarLinks); this.initTables(); - this.subscriptions.push(this.daemonData.syncEnd.subscribe(() => { + this.subscriptions.push(this.daemonData.syncEnd.subscribe(() => { this.refreshTables(); })); });