mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
🐛 Unable to enter title immediately after creating database Fix https://github.com/siyuan-note/siyuan/issues/11143
This commit is contained in:
parent
685b93f7ce
commit
c7d9b18b80
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ func UpsertBlockRel(avID, blockID string) (ret bool) {
|
|||
blockIDs = append(blockIDs, blockID)
|
||||
blockIDs = gulu.Str.RemoveDuplicatedElem(blockIDs)
|
||||
avBlocks[avID] = blockIDs
|
||||
ret = oldLen != len(blockIDs)
|
||||
ret = oldLen != len(blockIDs) && 0 != oldLen
|
||||
|
||||
data, err := msgpack.Marshal(avBlocks)
|
||||
if nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue