🎨 Support for listing missing files in Settings - Assets https://github.com/siyuan-note/siyuan/issues/8383
This commit is contained in:
parent
b4719727f9
commit
7aaa25840f
1 changed files with 4 additions and 2 deletions
|
@ -694,8 +694,11 @@ func MissingAssets() (ret []string) {
|
|||
}
|
||||
luteEngine := util.NewLute()
|
||||
for _, notebook := range notebooks {
|
||||
dests := map[string]bool{}
|
||||
if notebook.Closed {
|
||||
continue
|
||||
}
|
||||
|
||||
dests := map[string]bool{}
|
||||
pages := pagedPaths(filepath.Join(util.DataDir, notebook.ID), 32)
|
||||
for _, paths := range pages {
|
||||
var trees []*parse.Tree
|
||||
|
@ -738,7 +741,6 @@ func MissingAssets() (ret []string) {
|
|||
ret = append(ret, dest)
|
||||
continue
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue