🎨 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:
Daniel 2026-01-29 10:15:57 +08:00
parent 717960b538
commit efe11801ad
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 28 additions and 23 deletions

View file

@ -173,7 +173,7 @@ func UnusedAttributeViews() (ret []map[string]any) {
if !docReferencedAvIDs[id] && !isRelatedSrcAvDocReferenced(id, docReferencedAvIDs, checkedAvIDs) {
name, _ := av.GetAttributeViewName(id)
ret = append(ret, map[string]any{
"id": id,
"item": id,
"name": name,
})
}