mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-15 13:06:03 +08:00
fix: billing graph page crash (#4764)
This commit is contained in:
parent
6da9de6591
commit
e6e377beff
@ -46,7 +46,7 @@ const calculateStartEndTime = (
|
|||||||
): { startTime: number; endTime: number } => {
|
): { startTime: number; endTime: number } => {
|
||||||
const timestamps: number[] = [];
|
const timestamps: number[] = [];
|
||||||
data?.details?.breakdown?.forEach((breakdown: any) => {
|
data?.details?.breakdown?.forEach((breakdown: any) => {
|
||||||
breakdown?.dayWiseBreakdown?.breakdown.forEach((entry: any) => {
|
breakdown?.dayWiseBreakdown?.breakdown?.forEach((entry: any) => {
|
||||||
timestamps.push(entry?.timestamp);
|
timestamps.push(entry?.timestamp);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user