chore: bug fixes and improvement (#3434)
* fix: peek overview issue delete bug * chore: create cycle workflow improvement * chore: project setting improvement
This commit is contained in:
parent
2986769f28
commit
bb50df0dff
4 changed files with 19 additions and 10 deletions
|
|
@ -47,11 +47,6 @@ export const DeleteIssueModal: React.FC<Props> = (props) => {
|
|||
if (onSubmit)
|
||||
await onSubmit()
|
||||
.then(() => {
|
||||
setToastAlert({
|
||||
title: "Success",
|
||||
type: "success",
|
||||
message: "Issue deleted successfully",
|
||||
});
|
||||
onClose();
|
||||
})
|
||||
.catch(() => {
|
||||
|
|
|
|||
|
|
@ -109,7 +109,10 @@ export const IssueView: FC<IIssueView> = observer((props) => {
|
|||
{issue && !is_archived && (
|
||||
<DeleteIssueModal
|
||||
isOpen={isDeleteIssueModalOpen}
|
||||
handleClose={() => toggleDeleteIssueModal(false)}
|
||||
handleClose={() => {
|
||||
toggleDeleteIssueModal(false);
|
||||
removeRoutePeekId();
|
||||
}}
|
||||
data={issue}
|
||||
onSubmit={() => issueOperations.remove(workspaceSlug, projectId, issueId)}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue