mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15560
This commit is contained in:
parent
6a9eb455fc
commit
7595477257
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ func GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousBlockID,
|
|||
|
||||
ret = getAttrViewAddingBlockDefaultValues(attrView, view, groupView, previousBlockID, addingBlockID)
|
||||
if 1 > len(ret) {
|
||||
if 2 > len(view.Groups) && 1 > len(groupView.GroupItemIDs) { // 只有一个分组并且没有项目时忽略
|
||||
if 2 > len(view.Groups) && 1 > len(groupView.GroupItemIDs) { // 少于两个分组并且没有项目时忽略
|
||||
ignore = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue