fix: kanban board block's menu & drop delete. (#2987)
* fix: kanban board block menu click * fix: menu active/disable * fix: drag n drop delete modal * fix: quick action button in all the layouts * chore: toast for drag & drop api
This commit is contained in:
parent
7a96e12523
commit
c4602951c9
25 changed files with 225 additions and 55 deletions
|
|
@ -14,7 +14,7 @@ import { IQuickActionProps } from "../list/list-view-types";
|
|||
import { EProjectStore } from "store/command-palette.store";
|
||||
|
||||
export const CycleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
||||
const { issue, handleDelete, handleUpdate, handleRemoveFromView } = props;
|
||||
const { issue, handleDelete, handleUpdate, handleRemoveFromView, customActionButton } = props;
|
||||
|
||||
const router = useRouter();
|
||||
const { workspaceSlug } = router.query;
|
||||
|
|
@ -58,7 +58,7 @@ export const CycleIssueQuickActions: React.FC<IQuickActionProps> = (props) => {
|
|||
}}
|
||||
currentStore={EProjectStore.CYCLE}
|
||||
/>
|
||||
<CustomMenu placement="bottom-start" ellipsis>
|
||||
<CustomMenu placement="bottom-start" customButton={customActionButton} ellipsis>
|
||||
<CustomMenu.MenuItem
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue