mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 Improve av grouping https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
92265f95c9
commit
4a23e40561
2 changed files with 12 additions and 3 deletions
|
|
@ -53,12 +53,13 @@ func getAttributeViewAddingBlockDefaultValues(c *gin.Context) {
|
|||
addingBlockID = arg["addingBlockID"].(string)
|
||||
}
|
||||
|
||||
values := model.GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousID, addingBlockID)
|
||||
values, ignore := model.GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousID, addingBlockID)
|
||||
if 1 > len(values) {
|
||||
values = nil
|
||||
}
|
||||
ret.Data = map[string]interface{}{
|
||||
"values": values,
|
||||
"ignore": ignore,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue