Commit a73663de by Torkel Ödegaard Committed by GitHub

Merge pull request #15789 from grafana/hide-time-info

Hide time info switch when no time options are specified
parents c813a995 a5455691
......@@ -210,10 +210,11 @@ export class QueryOptions extends PureComponent<Props, State> {
value={timeShift}
/>
</div>
{(timeShift || relativeTime) && (
<div className="gf-form-inline">
<Switch label="Hide time info" checked={hideTimeOverride} onChange={this.onToggleTimeOverride} />
</div>
)}
</div>
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment