forked from github/plane
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);
|
|
};
|