🎨 集市支持已安装的包单独显示 https://github.com/siyuan-note/siyuan/issues/5678

This commit is contained in:
Liang Ding 2022-09-02 11:03:10 +08:00
parent 0f13f79ce4
commit bb0995eb6b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 23 additions and 19 deletions

View file

@ -141,7 +141,7 @@ func InstalledWidgets() (ret []*Widget) {
continue
}
widget.README, _ = renderREADME(widget.URL, readme)
widget.Outdated = isOutdatedWidget(widget.URL, widget.Version, bazaarWidgets)
widget.Outdated = isOutdatedWidget(widget, bazaarWidgets)
ret = append(ret, widget)
}
return