fix: 允许更新默认分组 (#426)

* fix: 允许更新默认分组

* improve: check null

---------

Co-authored-by: naiba <hi@nai.ba>
This commit is contained in:
lyj
2024-10-04 23:33:40 +08:00
committed by GitHub
parent 2b40040ec5
commit 3250283ef9

View File

@@ -159,8 +159,8 @@
}
function batchEditServerGroup() {
let groupName = prompt('{{tr "InputServerGroupName"}}')
if (!groupName) {
return;
if (groupName === null) {
return
}
const servers = []
checkBoxList.forEach(cb => {