[WEB-1640] fix: validating the error in estimate delete (#4853)
* fix: validating the error in estimate delete * fix: moved estimate delete to ee
This commit is contained in:
parent
8705a96220
commit
cc455b0e76
9 changed files with 28 additions and 124 deletions
|
|
@ -1,3 +1,3 @@
|
|||
export * from "./estimate-list-item-buttons";
|
||||
|
||||
export * from "./update";
|
||||
export * from "./points";
|
||||
|
|
|
|||
17
web/ce/components/estimates/points/delete.tsx
Normal file
17
web/ce/components/estimates/points/delete.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"use client";
|
||||
|
||||
import { FC } from "react";
|
||||
|
||||
import { TEstimateTypeErrorObject } from "@plane/types";
|
||||
|
||||
type TEstimatePointDelete = {
|
||||
workspaceSlug: string;
|
||||
projectId: string;
|
||||
estimateId: string;
|
||||
estimatePointId: string;
|
||||
callback: () => void;
|
||||
estimatePointError?: TEstimateTypeErrorObject | undefined;
|
||||
handleEstimatePointError?: (newValue: string, message: string | undefined, mode?: "add" | "delete") => void;
|
||||
};
|
||||
|
||||
export const EstimatePointDelete: FC<TEstimatePointDelete> = () => <></>;
|
||||
1
web/ce/components/estimates/points/index.ts
Normal file
1
web/ce/components/estimates/points/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from "./delete";
|
||||
Loading…
Add table
Add a link
Reference in a new issue