Alert error message if open dependencies are included in the issues that try to batch close (#24329)

fix #24185 

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
sillyguodong 2023-04-27 00:54:17 +08:00 committed by GitHub
parent df9a62b5f9
commit 8f57aa014b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -55,6 +55,8 @@ function initRepoIssueListCheckboxes() {
elementId
).then(() => {
window.location.reload();
}).catch((reason) => {
window.alert(reason.responseJSON.error);
});
});
}