Skip to content

Commit 63eb858

Browse files
committed
Hide markdown lint settings when markdown lint is disabled
1 parent c70cca2 commit 63eb858

File tree

1 file changed

+1
-1
lines changed
  • browser/main/modals/PreferencesModal

1 file changed

+1
-1
lines changed

browser/main/modals/PreferencesModal/UiTab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ class UiTab extends React.Component {
652652
type='checkbox'
653653
/> 
654654
{i18n.__('Enable MarkdownLint')}
655-
<div style={{fontFamily}}>
655+
<div style={{fontFamily, display: this.state.config.editor.enableMarkdownLint ? 'block' : 'none'}}>
656656
<ReactCodeMirror
657657
width='400px'
658658
height='200px'

0 commit comments

Comments
 (0)