🎨 Reindex notebook and reload UI after data sync if notebook conf changed https://github.com/siyuan-note/siyuan/issues/11850

This commit is contained in:
Daniel 2024-06-28 11:41:57 +08:00
parent 1dfdffa5a7
commit 222635c5a1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 24 additions and 4 deletions

View file

@ -1312,11 +1312,11 @@ func GetFullHPathByID(id string) (hPath string, err error) {
}
box := Conf.Box(tree.Box)
var boxName string
if nil != box {
boxName = box.Name
if nil == box {
err = ErrBoxNotFound
return
}
hPath = boxName + tree.HPath
hPath = box.Name + tree.HPath
return
}