diff --git a/public/app/plugins/datasource/influxdb/components/InfluxLogsQueryField.tsx b/public/app/plugins/datasource/influxdb/components/InfluxLogsQueryField.tsx index dde33828bbb..49052f8ce78 100644 --- a/public/app/plugins/datasource/influxdb/components/InfluxLogsQueryField.tsx +++ b/public/app/plugins/datasource/influxdb/components/InfluxLogsQueryField.tsx @@ -133,6 +133,7 @@ export class InfluxLogsQueryField extends React.PureComponent { const { datasource } = this.props; const { measurements, measurement, field, error } = this.state; const cascadeText = getChooserText({ measurement, field, error }); + const hasMeasurement = measurements && measurements.length > 0; return (
@@ -143,7 +144,7 @@ export class InfluxLogsQueryField extends React.PureComponent { onChange={this.onMeasurementsChange} expandIcon={null} > -