From 0dd5c4e69df723c710c20f0eb4f8f3602bbcbf4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 4 Jul 2020 12:23:58 +0200 Subject: [PATCH] Inspect: Hide minimap in json view --- .../features/dashboard/components/Inspector/InspectJSONTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx b/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx index 38e7a3ed8f3..833f86f0002 100644 --- a/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx +++ b/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx @@ -142,7 +142,7 @@ export class InspectJSONTab extends PureComponent { height={height} language="json" showLineNumbers={true} - showMiniMap={text && text.length > 100} + showMiniMap={false} value={text || ''} readOnly={!isPanelJSON} onBlur={this.onTextChanged}