mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-07 16:04:19 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
31c552abc2
1 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
if plugin.Outdated {
|
||||
plugins = append(plugins, plugin)
|
||||
}
|
||||
plugin.PreferredReadme = "" // 清空这个字段,前端会请求在线的 README
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
@ -130,6 +131,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
if widget.Outdated {
|
||||
widgets = append(widgets, widget)
|
||||
}
|
||||
widget.PreferredReadme = ""
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
@ -140,6 +142,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
if icon.Outdated {
|
||||
icons = append(icons, icon)
|
||||
}
|
||||
icon.PreferredReadme = ""
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
@ -150,6 +153,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
if theme.Outdated {
|
||||
themes = append(themes, theme)
|
||||
}
|
||||
theme.PreferredReadme = ""
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
@ -160,6 +164,7 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
if template.Outdated {
|
||||
templates = append(templates, template)
|
||||
}
|
||||
template.PreferredReadme = ""
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue