diff --git a/web/ee/components/cycles/active-cycle/formatter.ts b/web/ee/components/cycles/active-cycle/formatter.ts index b8621b2ce8..9007c8501d 100644 --- a/web/ee/components/cycles/active-cycle/formatter.ts +++ b/web/ee/components/cycles/active-cycle/formatter.ts @@ -35,7 +35,7 @@ const formatV1Data = (isTypeIssue: boolean, cycle: ICycle, isBurnDown: boolean, }; }); - progress = uniqBy(progress, "date"); + progress = uniqBy(orderBy(progress, "date"), "date"); return progress; }; @@ -70,7 +70,7 @@ const formatV2Data = (isTypeIssue: boolean, cycle: ICycle, isBurnDown: boolean, actual: dataDate! <= today ? (isBurnDown ? Math.abs(pending) : completed) : undefined, }; }); - progress = uniqBy(progress, "date"); + progress = uniqBy(orderBy(progress, "date"), "date"); return progress; };