mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Use dateRangeEnabled to decided whether we should display the data range selector
Signed-off-by: John Wu <webmaster@leapoahead.com>
This commit is contained in:
parent
20159a1c2a
commit
d50af7dec9
@ -1,6 +1,6 @@
|
||||
<div>
|
||||
<section class="clearfix">
|
||||
<date-range-selector ng-if="options.xAxis.type == 'datetime'" date-range='dateRange' class='pull-right'></date-range-selector>
|
||||
<date-range-selector ng-if="dateRangeEnabled" date-range='dateRange' class='pull-right'></date-range-selector>
|
||||
</section>
|
||||
<section>
|
||||
<chart options='chartOptions' series='chartSeries' class='graph'></chart>
|
||||
|
Loading…
Reference in New Issue
Block a user