diff --git a/frontend/src/app/components/app/app.component.ts b/frontend/src/app/components/app/app.component.ts
index 63d1fd5a0..faf129308 100644
--- a/frontend/src/app/components/app/app.component.ts
+++ b/frontend/src/app/components/app/app.component.ts
@@ -20,7 +20,7 @@ export class AppComponent {
@HostListener('document:keydown', ['$event'])
handleKeyboardEvents(event: KeyboardEvent) {
- if (event.target !== document.body) {
+ if (event.target instanceof HTMLInputElement) {
return;
}
this.stateService.keyNavigation$.next(event);
diff --git a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts
index d3f476fc1..9333396db 100644
--- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts
+++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts
@@ -14,7 +14,6 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
@Input() data;
@Input() dateSpan = '2h';
- network = '';
mempoolVsizeFeesOptions: any;
mempoolVsizeFeesData: any;
@@ -25,7 +24,6 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
) { }
ngOnInit(): void {
- this.stateService.networkChanged$.subscribe((network) => this.network = network);
const labelInterpolationFnc = (value: any, index: any) => {
switch (this.dateSpan) {
case '2h':
@@ -71,7 +69,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
return '350+';
}
if (i === 0) {
- if (this.network === 'liquid') {
+ if (this.stateService.network === 'liquid') {
return '0 - 1';
}
return '1 sat/vB';
@@ -94,7 +92,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
const finalArrayVbyte = this.generateArray(mempoolStats);
// Only Liquid has lower than 1 sat/vb transactions
- if (this.network !== 'liquid') {
+ if (this.stateService.network !== 'liquid') {
finalArrayVbyte.shift();
}
diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.html b/frontend/src/app/components/transactions-list/transactions-list.component.html
index e6f17c71b..49cfbc804 100644
--- a/frontend/src/app/components/transactions-list/transactions-list.component.html
+++ b/frontend/src/app/components/transactions-list/transactions-list.component.html
@@ -10,6 +10,7 @@