Skip to content

Commit 3250283

Browse files
lyj0309naiba
andauthored
fix: 允许更新默认分组 (#426)
* fix: 允许更新默认分组 * improve: check null --------- Co-authored-by: naiba <hi@nai.ba>
1 parent 2b40040 commit 3250283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resource/template/dashboard-default/server.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@
159159
}
160160
function batchEditServerGroup() {
161161
let groupName = prompt('{{tr "InputServerGroupName"}}')
162-
if (!groupName) {
163-
return;
162+
if (groupName === null) {
163+
return
164164
}
165165
const servers = []
166166
checkBoxList.forEach(cb => {

0 commit comments

Comments
 (0)