Adding 4 year button to mempool graph

fixes #3218
This commit is contained in:
softsimon
2023-03-04 18:48:16 +09:00
parent aef26097ec
commit 4e39c27c75
9 changed files with 35 additions and 4 deletions

View File

@@ -568,6 +568,7 @@ class Mining {
private getTimeRange(interval: string | null, scale = 1): number {
switch (interval) {
case '4y': return 43200 * scale; // 12h
case '3y': return 43200 * scale; // 12h
case '2y': return 28800 * scale; // 8h
case '1y': return 28800 * scale; // 8h