Prettier
parent
532a6a8c48
commit
e1ab849b63
|
@ -15,7 +15,9 @@ const GraphTypeSelector = ({selectedGraphType, onSelectGraphType}) =>
|
|||
>
|
||||
<div onClick={() => onSelectGraphType(graphType.type)}>
|
||||
{graphType.graphic}
|
||||
<p>{graphType.menuOption}</p>
|
||||
<p>
|
||||
{graphType.menuOption}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
@ -22,17 +22,17 @@ const Ranger = ({onSetRange, axes}) => {
|
|||
/>
|
||||
</div> */}
|
||||
<div className="form-group col-sm-6">
|
||||
<label htmlFor="min">Lower Bound</label>
|
||||
<label htmlFor="min">Min</label>
|
||||
<GrooveKnob
|
||||
onSetValues={({leftValue, rightValue}) => {
|
||||
console.log(leftValue, rightValue)
|
||||
// onSetRange()
|
||||
}}
|
||||
rightValue={Number(min)}
|
||||
rightValue={min}
|
||||
/>
|
||||
</div>
|
||||
<div className="form-group col-sm-6">
|
||||
<label htmlFor="max">Upper Bound</label>
|
||||
<label htmlFor="max">Max</label>
|
||||
<input
|
||||
className="form-control input-sm"
|
||||
type="number"
|
||||
|
|
|
@ -81,7 +81,8 @@ class DashboardPage extends Component {
|
|||
|
||||
handleCloseTemplateManager(isEdited) {
|
||||
if (
|
||||
!isEdited || (isEdited && confirm('Do you want to close without saving?')) // eslint-disable-line no-alert
|
||||
!isEdited ||
|
||||
(isEdited && confirm('Do you want to close without saving?')) // eslint-disable-line no-alert
|
||||
) {
|
||||
this.setState({isTemplating: false})
|
||||
}
|
||||
|
|
|
@ -42,7 +42,9 @@ class GrooveKnob extends Component {
|
|||
<div
|
||||
className={classnames('one-or-any', {'use-right-value': !useLeftValue})}
|
||||
>
|
||||
<div className="one-or-any--auto">{leftLabel}</div>
|
||||
<div className="one-or-any--auto">
|
||||
{leftLabel}
|
||||
</div>
|
||||
<div
|
||||
className="one-or-any--switch"
|
||||
onClick={this.handleToggleLeftValue}
|
||||
|
|
Loading…
Reference in New Issue