mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av
This commit is contained in:
parent
9098b3f874
commit
3afaa2551e
3 changed files with 34 additions and 17 deletions
|
@ -54,6 +54,9 @@ func getAttributeViewAddingBlockDefaultValues(c *gin.Context) {
|
|||
}
|
||||
|
||||
values := model.GetAttrViewAddingBlockDefaultValues(avID, viewID, groupID, previousID, addingBlockID)
|
||||
if 1 > len(values) {
|
||||
values = nil
|
||||
}
|
||||
ret.Data = map[string]interface{}{
|
||||
"values": values,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue