🎨 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-28 23:05:11 +08:00
parent a6fe640882
commit 5762d62ddc
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -174,6 +174,9 @@ func UnusedAttributeViews() (ret []string) {
}
ret = gulu.Str.RemoveDuplicatedElem(ret)
if 1 > len(ret) {
ret = []string{}
}
return
}