[MM-21123] Add Labels to upstream Marketplace response (#13425)
* Add Labels to upstream Marketplace response * Add LOCAL label to local plugins
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8e2c59ca00
Коммит
1f3f8fbf57
@@ -502,6 +502,11 @@ func (a *App) GetMarketplacePlugins(filter *model.MarketplacePluginFilter) ([]*m
|
||||
|
||||
result = append(result, &model.MarketplacePlugin{
|
||||
BaseMarketplacePlugin: &model.BaseMarketplacePlugin{
|
||||
// Labels should not (yet) be localized as the labels sent by the Marketplace are not (yet) localizable.
|
||||
Labels: []model.MarketplaceLabel{{
|
||||
Name: "Local",
|
||||
Description: "This plugin is not listed in the marketplace but was installed manually",
|
||||
}},
|
||||
Manifest: plugin.Manifest,
|
||||
},
|
||||
InstalledVersion: plugin.Manifest.Version,
|
||||
|
||||
Ссылка в новой задаче
Block a user