mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Improve /widget search https://github.com/siyuan-note/siyuan/issues/10917
This commit is contained in:
parent
62db617f91
commit
1a487c0251
7 changed files with 31 additions and 40 deletions
|
|
@ -161,7 +161,7 @@ func getPreferredReadme(readme *Readme) string {
|
|||
return ret
|
||||
}
|
||||
|
||||
func getPreferredName(pkg *Package) string {
|
||||
func GetPreferredName(pkg *Package) string {
|
||||
if nil == pkg.DisplayName {
|
||||
return pkg.Name
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue