Commit a5455691 by Torkel Ödegaard

Hide time info switch when no time options are specified

parent 1711622e
......@@ -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