diff --git a/ui/src/dashboards/components/GraphOptionsTimeFormat.tsx b/ui/src/dashboards/components/GraphOptionsTimeFormat.tsx index 9df87f673..24512e98f 100644 --- a/ui/src/dashboards/components/GraphOptionsTimeFormat.tsx +++ b/ui/src/dashboards/components/GraphOptionsTimeFormat.tsx @@ -61,13 +61,14 @@ class GraphOptionsTimeFormat extends PureComponent {
{ className="dropdown-stretch" onChoose={this.handleChooseFormat} /> - {showCustom && + {showCustom && (
{ placeholder="Enter custom format..." appearAsNormalInput={true} /> -
} +
+ )} ) } diff --git a/ui/test/dashboards/components/TableOptions.test.tsx b/ui/test/dashboards/components/TableOptions.test.tsx index 96c798574..c016ceacf 100644 --- a/ui/test/dashboards/components/TableOptions.test.tsx +++ b/ui/test/dashboards/components/TableOptions.test.tsx @@ -37,7 +37,6 @@ const setup = (override = {}) => { return {wrapper, instance, props} } -const dataLabels = ['time', 'foo', 'bar'] describe('Dashboards.Components.TableOptions', () => { describe('getters', () => {