🐛 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
|
||||
docCreateSavePathTpl = boxConf.DocCreateSavePath
|
||||
}
|
||||
if "" == docCreateSaveBox {
|
||||
if "" == docCreateSaveBox && "" == docCreateSavePathTpl {
|
||||
docCreateSaveBox = model.Conf.FileTree.DocCreateSaveBox
|
||||
}
|
||||
if "" != docCreateSaveBox {
|
||||
|
@ -765,7 +765,7 @@ func getRefCreateSavePath(c *gin.Context) {
|
|||
refCreateSaveBox = boxConf.RefCreateSaveBox
|
||||
refCreateSavePathTpl = boxConf.RefCreateSavePath
|
||||
}
|
||||
if "" == refCreateSaveBox {
|
||||
if "" == refCreateSaveBox && "" == refCreateSavePathTpl {
|
||||
refCreateSaveBox = model.Conf.FileTree.RefCreateSaveBox
|
||||
}
|
||||
if "" != refCreateSaveBox {
|
||||
|
|
Loading…
Add table
Reference in a new issue