hide mempool count line before start of data

This commit is contained in:
Mononaut 2023-09-18 21:13:11 +00:00
parent ef5d2606b7
commit c80201e3db
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -136,7 +136,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
}
generateCountArray(mempoolStats: OptimizedMempoolStats[]) {
return mempoolStats.map(stats => [stats.added * 1000, stats.count]);
return mempoolStats.filter(stats => stats.count > 0).map(stats => [stats.added * 1000, stats.count]);
}
mountFeeChart() {