mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 02:29:33 +08:00
Plugins: Display custom deprecation message if available (#75942)
* feat: display the deprecation context for a plugin if it is available * Update public/app/features/plugins/admin/components/PluginDetailsDeprecatedWarning.tsx Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com> * feat: only extend the basic message with custom context --------- Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
This commit is contained in:
@ -25,6 +25,7 @@ export async function getPluginDetails(id: string): Promise<CatalogPluginDetails
|
||||
links: local?.info.links || remote?.json?.info.links || [],
|
||||
readme: localReadme || remote?.readme,
|
||||
versions,
|
||||
statusContext: remote?.statusContext ?? '',
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user