mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 22:09:12 +02:00
fix: ordering
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user