From 026006290b19d74f42b162ef03731e41f21df101 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Wed, 20 Oct 2021 09:02:39 +0300 Subject: [PATCH] QueryGroup: Add missing keys for extra group action components (#40619) --- public/app/features/query/components/QueryGroup.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/public/app/features/query/components/QueryGroup.tsx b/public/app/features/query/components/QueryGroup.tsx index f8c73936f37..714c544a0bb 100644 --- a/public/app/features/query/components/QueryGroup.tsx +++ b/public/app/features/query/components/QueryGroup.tsx @@ -305,8 +305,12 @@ export class QueryGroup extends PureComponent { } renderExtraActions() { - return GroupActionComponents.getAllExtraRenderAction().map((c) => { - return React.createElement(c, { onAddQuery: this.onAddQuery, onChangeDataSource: this.onChangeDataSource }); + return GroupActionComponents.getAllExtraRenderAction().map((c, index) => { + return React.createElement(c, { + onAddQuery: this.onAddQuery, + onChangeDataSource: this.onChangeDataSource, + key: index, + }); }); }