mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🐛 Notebook settings doc save path does not override global settings in some cases https://github.com/siyuan-note/siyuan/issues/11196
This commit is contained in:
parent
cf8529249d
commit
653ac93875
1 changed files with 2 additions and 2 deletions
|
|
@ -710,7 +710,7 @@ func getDocCreateSavePath(c *gin.Context) {
|
||||||
docCreateSaveBox = boxConf.DocCreateSaveBox
|
docCreateSaveBox = boxConf.DocCreateSaveBox
|
||||||
docCreateSavePathTpl = boxConf.DocCreateSavePath
|
docCreateSavePathTpl = boxConf.DocCreateSavePath
|
||||||
}
|
}
|
||||||
if "" == docCreateSaveBox {
|
if "" == docCreateSaveBox && "" == docCreateSavePathTpl {
|
||||||
docCreateSaveBox = model.Conf.FileTree.DocCreateSaveBox
|
docCreateSaveBox = model.Conf.FileTree.DocCreateSaveBox
|
||||||
}
|
}
|
||||||
if "" != docCreateSaveBox {
|
if "" != docCreateSaveBox {
|
||||||
|
|
@ -765,7 +765,7 @@ func getRefCreateSavePath(c *gin.Context) {
|
||||||
refCreateSaveBox = boxConf.RefCreateSaveBox
|
refCreateSaveBox = boxConf.RefCreateSaveBox
|
||||||
refCreateSavePathTpl = boxConf.RefCreateSavePath
|
refCreateSavePathTpl = boxConf.RefCreateSavePath
|
||||||
}
|
}
|
||||||
if "" == refCreateSaveBox {
|
if "" == refCreateSaveBox && "" == refCreateSavePathTpl {
|
||||||
refCreateSaveBox = model.Conf.FileTree.RefCreateSaveBox
|
refCreateSaveBox = model.Conf.FileTree.RefCreateSaveBox
|
||||||
}
|
}
|
||||||
if "" != refCreateSaveBox {
|
if "" != refCreateSaveBox {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue