mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
QueryGroup: Add missing keys for extra group action components (#40619)
This commit is contained in:
parent
2eb88e1d1b
commit
026006290b
@ -305,8 +305,12 @@ export class QueryGroup extends PureComponent<Props, State> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
renderExtraActions() {
|
renderExtraActions() {
|
||||||
return GroupActionComponents.getAllExtraRenderAction().map((c) => {
|
return GroupActionComponents.getAllExtraRenderAction().map((c, index) => {
|
||||||
return React.createElement(c, { onAddQuery: this.onAddQuery, onChangeDataSource: this.onChangeDataSource });
|
return React.createElement(c, {
|
||||||
|
onAddQuery: this.onAddQuery,
|
||||||
|
onChangeDataSource: this.onChangeDataSource,
|
||||||
|
key: index,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user