mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
Re-enable rule jsx-curly-brace-presence (#10869)
This commit is contained in:
committed by
GitHub
parent
c5193ca018
commit
a75c36281d
@@ -454,7 +454,7 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
? 'Interval Start column'
|
||||
: 'Event Time Column'
|
||||
}
|
||||
description={'This column must contain date/time information.'}
|
||||
description="This column must contain date/time information."
|
||||
validationErrors={!timeColumn ? ['Mandatory'] : []}
|
||||
clearable={false}
|
||||
options={timeColumnOptions}
|
||||
@@ -467,7 +467,7 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
hovered
|
||||
name="annotation-layer-intervalEnd"
|
||||
label="Interval End column"
|
||||
description={'This column must contain date/time information.'}
|
||||
description="This column must contain date/time information."
|
||||
validationErrors={!intervalEndColumn ? ['Mandatory'] : []}
|
||||
options={columns}
|
||||
value={intervalEndColumn}
|
||||
@@ -478,7 +478,7 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
hovered
|
||||
name="annotation-layer-title"
|
||||
label="Title Column"
|
||||
description={'Pick a title for you annotation.'}
|
||||
description="Pick a title for you annotation."
|
||||
options={[{ value: '', label: 'None' }].concat(columns)}
|
||||
value={titleColumn}
|
||||
onChange={v => this.setState({ titleColumn: v })}
|
||||
@@ -643,7 +643,7 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
hovered
|
||||
name="annotation-layer-show-markers"
|
||||
label="Show Markers"
|
||||
description={'Shows or hides markers for the time series'}
|
||||
description="Shows or hides markers for the time series"
|
||||
value={showMarkers}
|
||||
onChange={v => this.setState({ showMarkers: v })}
|
||||
/>
|
||||
@@ -653,7 +653,7 @@ export default class AnnotationLayer extends React.PureComponent {
|
||||
hovered
|
||||
name="annotation-layer-hide-line"
|
||||
label="Hide Line"
|
||||
description={'Hides the Line for the time series'}
|
||||
description="Hides the Line for the time series"
|
||||
value={hideLine}
|
||||
onChange={v => this.setState({ hideLine: v })}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user