mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
🎨 Supports cleaning up unreferenced databases https://github.com/siyuan-note/siyuan/issues/11569
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
b274350948
commit
ea178b40f3
1 changed files with 1 additions and 1 deletions
|
|
@ -987,7 +987,7 @@ func indexHistoryDir(name string, luteEngine *lute.Lute) {
|
|||
}
|
||||
p := strings.TrimPrefix(database, util.HistoryDir)
|
||||
p = filepath.ToSlash(p[1:])
|
||||
avName, _ := av.GetAttributeViewName(id)
|
||||
avName, _ := av.GetAttributeViewNameByPath(database)
|
||||
histories = append(histories, &sql.History{
|
||||
ID: id,
|
||||
Type: HistoryTypeDatabase,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue