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

This commit is contained in:
Liang Ding 2022-09-01 22:32:43 +08:00
parent 7d39c6447e
commit 0d71a61ddb
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 4 additions and 0 deletions

View file

@ -126,6 +126,7 @@ func InstalledIcons() (ret []*Icon) {
}
icon := &Icon{}
icon.Installed = true
icon.Name = iconConf["name"].(string)
icon.Author = iconConf["author"].(string)
icon.URL = iconConf["url"].(string)

View file

@ -126,6 +126,7 @@ func InstalledTemplates() (ret []*Template) {
}
template := &Template{}
template.Installed = true
template.Name = templateConf["name"].(string)
template.Author = templateConf["author"].(string)
template.URL = templateConf["url"].(string)

View file

@ -128,6 +128,7 @@ func InstalledThemes() (ret []*Theme) {
}
theme := &Theme{}
theme.Installed = true
theme.Name = themeConf["name"].(string)
theme.Author = themeConf["author"].(string)
theme.URL = themeConf["url"].(string)

View file

@ -124,6 +124,7 @@ func InstalledWidgets() (ret []*Widget) {
}
widget := &Widget{}
widget.Installed = true
widget.Name = widgetConf["name"].(string)
widget.Author = widgetConf["author"].(string)
widget.URL = widgetConf["url"].(string)