mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PluginExtensions: Fixed issue with incorrect type being exposed when configuring an extension (#65910)
Fixed issue with wrong type required in configureExtensionLink
This commit is contained in:
@@ -97,7 +97,7 @@ export class AppPlugin<T extends KeyValue = KeyValue> extends GrafanaPlugin<AppP
|
|||||||
return this._extensionConfigs;
|
return this._extensionConfigs;
|
||||||
}
|
}
|
||||||
|
|
||||||
configureExtensionLink<Context extends object>(extension: Exclude<PluginExtensionLinkConfig<Context>, 'type'>) {
|
configureExtensionLink<Context extends object>(extension: Omit<PluginExtensionLinkConfig<Context>, 'type'>) {
|
||||||
this._extensionConfigs.push({
|
this._extensionConfigs.push({
|
||||||
...extension,
|
...extension,
|
||||||
type: PluginExtensionTypes.link,
|
type: PluginExtensionTypes.link,
|
||||||
|
|||||||
Reference in New Issue
Block a user