Removing the term ELECTRS from ELECTRS_ITEMS_PER_PAGE setting.

This commit is contained in:
softsimon 2021-01-11 21:11:09 +07:00
parent 103740ec45
commit f462cb27c6
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"LIQUID_ENABLED": false,
"BISQ_ENABLED": false,
"BISQ_SEPARATE_BACKEND": false,
"ELECTRS_ITEMS_PER_PAGE": 10,
"ITEMS_PER_PAGE": 10,
"KEEP_BLOCKS_AMOUNT": 8,
"SPONSORS_ENABLED": false,
"NGINX_PROTOCOL": "http",

View File

@ -47,7 +47,7 @@ export class BlockComponent implements OnInit, OnDestroy {
this.websocketService.want(['blocks', 'mempool-blocks']);
this.paginationMaxSize = window.matchMedia('(max-width: 700px)').matches ? 3 : 5;
this.network = this.stateService.network;
this.itemsPerPage = this.stateService.env.ELECTRS_ITEMS_PER_PAGE;
this.itemsPerPage = this.stateService.env.ITEMS_PER_PAGE;
this.txsLoadingStatus$ = this.route.paramMap
.pipe(

View File

@ -21,7 +21,7 @@ export interface Env {
BISQ_ENABLED: boolean;
BISQ_SEPARATE_BACKEND: boolean;
SPONSORS_ENABLED: boolean;
ELECTRS_ITEMS_PER_PAGE: number;
ITEMS_PER_PAGE: number;
KEEP_BLOCKS_AMOUNT: number;
NGINX_PROTOCOL?: string;
NGINX_HOSTNAME?: string;
@ -34,7 +34,7 @@ const defaultEnv: Env = {
'BISQ_ENABLED': false,
'BISQ_SEPARATE_BACKEND': false,
'SPONSORS_ENABLED': false,
'ELECTRS_ITEMS_PER_PAGE': 10,
'ITEMS_PER_PAGE': 10,
'KEEP_BLOCKS_AMOUNT': 8,
'NGINX_PROTOCOL': 'http',
'NGINX_HOSTNAME': '127.0.0.1',