mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 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:
parent
1dfdffa5a7
commit
222635c5a1
2 changed files with 24 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue