Revert "Inspect: Hide minimap in json view"

This reverts commit 0dd5c4e69d.
This commit is contained in:
Torkel Ödegaard 2020-07-04 12:26:54 +02:00
parent 0dd5c4e69d
commit d19d6128c9

View File

@ -142,7 +142,7 @@ export class InspectJSONTab extends PureComponent<Props, State> {
height={height}
language="json"
showLineNumbers={true}
showMiniMap={false}
showMiniMap={text && text.length > 100}
value={text || ''}
readOnly={!isPanelJSON}
onBlur={this.onTextChanged}