mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
20fb79567f
* fix: project states fixes * fix: states fixes * fix: formating all files
8 lines
337 B
TypeScript
8 lines
337 B
TypeScript
// types
|
|
import { IStateResponse } from "types";
|
|
|
|
export const orderStateGroups = (unorderedStateGroups: IStateResponse | undefined): IStateResponse | undefined => {
|
|
if (!unorderedStateGroups) return undefined;
|
|
return Object.assign({ backlog: [], unstarted: [], started: [], completed: [], cancelled: [] }, unorderedStateGroups);
|
|
};
|