fix prettier errors

pull/3054/head
Iris Scholten 2018-03-26 09:54:02 -07:00
parent 8c5ba95f2a
commit f358c0dac3
2 changed files with 6 additions and 5 deletions

View File

@ -61,13 +61,14 @@ class GraphOptionsTimeFormat extends PureComponent<Props, State> {
<div className="form-group col-xs-12">
<label>
Time Format
{showCustom &&
{showCustom && (
<a href={TIME_FORMAT_TOOLTIP_LINK} target="_blank">
<QuestionMarkTooltip
tipID="Time Axis Format"
tipContent={tipContent}
/>
</a>}
</a>
)}
</label>
<Dropdown
items={FORMAT_OPTIONS}
@ -77,7 +78,7 @@ class GraphOptionsTimeFormat extends PureComponent<Props, State> {
className="dropdown-stretch"
onChoose={this.handleChooseFormat}
/>
{showCustom &&
{showCustom && (
<div className="column-controls--section">
<InputClickToEdit
wrapperClass="field-controls-input "
@ -87,7 +88,8 @@ class GraphOptionsTimeFormat extends PureComponent<Props, State> {
placeholder="Enter custom format..."
appearAsNormalInput={true}
/>
</div>}
</div>
)}
</div>
)
}

View File

@ -37,7 +37,6 @@ const setup = (override = {}) => {
return {wrapper, instance, props}
}
const dataLabels = ['time', 'foo', 'bar']
describe('Dashboards.Components.TableOptions', () => {
describe('getters', () => {