From 4cbed807d6ed7ca491d6a1d6797ed05913ba53a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 19 Jan 2019 08:22:56 +0100 Subject: [PATCH] toggle collapse when clicking on collapse state text --- public/app/features/dashboard/panel_editor/QueryEditorRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx b/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx index a7638e82a23..1239561e695 100644 --- a/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx +++ b/public/app/features/dashboard/panel_editor/QueryEditorRow.tsx @@ -205,7 +205,7 @@ export class QueryEditorRow extends PureComponent { {inMixedMode && ({datasourceName})} {isDisabled && Disabled} -
+
{isCollapsed &&
{this.renderCollapsedText()}
}