Inspect: Hide minimap in json view

This commit is contained in:
Torkel Ödegaard 2020-07-04 12:23:58 +02:00
parent c0762b6ddc
commit 0dd5c4e69d

View File

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