forked from github/plane
fix: peek overview delete modal (#4062)
This commit is contained in:
parent
11c3d4fbd8
commit
ad5559afe4
@ -96,10 +96,9 @@ export const IssueView: FC<IIssueView> = observer((props) => {
|
|||||||
isOpen={!!isDeleteIssueModalOpen}
|
isOpen={!!isDeleteIssueModalOpen}
|
||||||
handleClose={() => {
|
handleClose={() => {
|
||||||
toggleDeleteIssueModal(null);
|
toggleDeleteIssueModal(null);
|
||||||
removeRoutePeekId();
|
|
||||||
}}
|
}}
|
||||||
data={issue}
|
data={issue}
|
||||||
onSubmit={() => issueOperations.remove(workspaceSlug, projectId, issueId)}
|
onSubmit={() => issueOperations.remove(workspaceSlug, projectId, issueId).then(() => removeRoutePeekId())}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user