From 06706be18fdca694fb509bc2497067aa6bd0c5ff Mon Sep 17 00:00:00 2001 From: Miguel Medeiros Date: Wed, 27 Oct 2021 01:58:54 -0300 Subject: [PATCH] fix: Liquid missing tooltip serie name. --- .../app/components/mempool-graph/mempool-graph.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 4fd6ea281..d16f8c534 100644 --- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts +++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts @@ -85,7 +85,10 @@ export class MempoolGraphComponent implements OnInit, OnChanges { generateArray(mempoolStats: OptimizedMempoolStats[]) { const finalArray: number[][] = []; let feesArray: number[] = []; - const limitFeesTemplate = this.template === 'advanced' ? 28 : 21; + let limitFeesTemplate = this.template === 'advanced' ? 28 : 21; + if (this.stateService.network === 'liquid') { + limitFeesTemplate = this.template === 'advanced' ? 26 : 20; + } for (let index = limitFeesTemplate; index > -1; index--) { feesArray = []; mempoolStats.forEach((stats) => {