From d19d6128c91fda7d67c7b864b0039d174c4bf329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 4 Jul 2020 12:26:54 +0200 Subject: [PATCH] Revert "Inspect: Hide minimap in json view" This reverts commit 0dd5c4e69df723c710c20f0eb4f8f3602bbcbf4e. --- .../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 833f86f0002..38e7a3ed8f3 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={false} + showMiniMap={text && text.length > 100} value={text || ''} readOnly={!isPanelJSON} onBlur={this.onTextChanged}