fix: Liquid missing tooltip serie name.

This commit is contained in:
Miguel Medeiros 2021-10-27 01:58:54 -03:00
parent f19b84090a
commit 06706be18f
No known key found for this signature in database
GPG key ID: 819EDEE4673F3EBB

View file

@ -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) => {