mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PluginExtensions: Increased extension limit per plugin (#72196)
increased limit of how many items a plugin can register for panel and explore extension pint.
This commit is contained in:
parent
7aeca1516a
commit
eee8e52605
@ -282,7 +282,7 @@ export function getPanelMenu(
|
||||
const { extensions } = getPluginLinkExtensions({
|
||||
extensionPointId: PluginExtensionPoints.DashboardPanelMenu,
|
||||
context: createExtensionContext(panel, dashboard),
|
||||
limitPerPlugin: 2,
|
||||
limitPerPlugin: 3,
|
||||
});
|
||||
|
||||
if (extensions.length > 0 && !panel.isEditing) {
|
||||
|
@ -103,6 +103,7 @@ function useExtensionLinks(context: PluginExtensionExploreContext): PluginExtens
|
||||
const { extensions } = getPluginLinkExtensions({
|
||||
extensionPointId: PluginExtensionPoints.ExploreToolbarAction,
|
||||
context: context,
|
||||
limitPerPlugin: 3,
|
||||
});
|
||||
|
||||
return extensions;
|
||||
|
Loading…
Reference in New Issue
Block a user