forked from github/plane
feat: create and delete issue alerts
This commit is contained in:
parent
937d04e88c
commit
1b06b21087
@ -65,9 +65,9 @@ export const DeleteIssueModal: React.FC<Props> = ({ isOpen, handleClose, data })
|
||||
|
||||
handleClose();
|
||||
setToastAlert({
|
||||
title: "Success",
|
||||
title: "Issue Deleted Successfully",
|
||||
type: "success",
|
||||
message: "Issue deleted successfully",
|
||||
message: `${data.project_detail.identifier}-${data.sequence_id} is deleted successfully from the project ${data.project_detail.name}`,
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
|
@ -138,8 +138,8 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = ({
|
||||
|
||||
setToastAlert({
|
||||
type: "success",
|
||||
title: "Success!",
|
||||
message: "Issue created successfully.",
|
||||
title: "Issue Created Successfully",
|
||||
message: `${res.project_detail.identifier}-${res.sequence_id} is created successfully under the project ${res.project_detail.name}`,
|
||||
});
|
||||
|
||||
if (payload.assignees_list?.some((assignee) => assignee === user?.id)) mutate(USER_ISSUE);
|
||||
|
Loading…
Reference in New Issue
Block a user