fix prettier errors
parent
8c5ba95f2a
commit
f358c0dac3
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -37,7 +37,6 @@ const setup = (override = {}) => {
|
|||
|
||||
return {wrapper, instance, props}
|
||||
}
|
||||
const dataLabels = ['time', 'foo', 'bar']
|
||||
|
||||
describe('Dashboards.Components.TableOptions', () => {
|
||||
describe('getters', () => {
|
||||
|
|
Loading…
Reference in New Issue