fix(ui): keep dashboard open on issue draft
CI / build-and-test (push) Has been cancelled

This commit is contained in:
joshpatra committed 2026-04-18 23:04:50 -04:00
1 parent b23678e95a
commit 317369d120
1 file changed
+6 -1
+6 -1
View File
@@ -387,7 +387,12 @@ async function openGithubIssueDraft() {
const openedWindow = window.open(payload.url, "_blank", "noopener,noreferrer");
if (!openedWindow) {
window.location.href = payload.url;
showToast(
"GitHub draft popup was blocked. Allow popups for this site, then try again.",
"warning",
5000,
);
return;
}
const message = payload.truncated