🎨 集市支持已安装的包单独显示 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

@ -143,7 +143,7 @@ func InstalledTemplates() (ret []*Template) {
continue
}
template.README, _ = renderREADME(template.URL, readme)
template.Outdated = isOutdatedTemplate(template.URL, template.Version, bazaarTemplates)
template.Outdated = isOutdatedTemplate(template, bazaarTemplates)
ret = append(ret, template)
}
return