Files
plane/web/ce/components/workflow/use-workflow-drag-n-drop.ts

16 lines
417 B
TypeScript
Raw Normal View History

import { TIssueGroupByOptions } from "@plane/types";
export const useWorkFlowFDragNDrop = (
groupBy: TIssueGroupByOptions | undefined,
subGroupBy?: TIssueGroupByOptions
) => ({
workflowDisabledSource: undefined,
isWorkflowDropDisabled: false,
handleWorkFlowState: (
sourceGroupId: string,
destinationGroupId: string,
sourceSubGroupId?: string,
destinationSubGroupId?: string
) => {},
});