mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-14 19:18:06 +01:00
This commit is contained in:
parent
525339115a
commit
b804cd2d61
2 changed files with 7 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ func (kValues *KeyValues) GetValue(blockID string) (ret *Value) {
|
|||
|
||||
func (kValues *KeyValues) GetBlockValue() (ret *Value) {
|
||||
for _, v := range kValues.Values {
|
||||
if KeyTypeBlock != v.Type {
|
||||
if KeyTypeBlock == v.Type {
|
||||
ret = v
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue