fix: close capture without leaving the dashboard

This commit is contained in:
timmy 2026-08-17 22:56:25 +00:00
parent be10dba4bd
commit 89c25369fc

View File

@ -4826,7 +4826,7 @@
function closeCreateIssueSheet(navigate = true, preserveDraft = true) {
if (navigate && taskOverlayHistory.current() === 'new') {
suppressCreateDraftOnHistoryClose = !preserveDraft;
taskOverlayHistory.close();
taskOverlayHistory.leave();
return;
}
qs('#create-issue-sheet').classList.remove('open');