Fix JS bug for graph view of tempmon probe readings

This commit is contained in:
Lance Edgar 2019-10-22 11:07:33 -05:00
parent b311c6be7d
commit 9606b08c89

View file

@ -150,10 +150,8 @@
${parent.modify_this_page_vars()}
<script type="text/javascript">
ThisPage.data = function() { return {
currentTimeRange: ${json.dumps(current_time_range)|n},
chart: null,
}}
ThisPageData.currentTimeRange = ${json.dumps(current_time_range)|n}
ThisPageData.chart = null
ThisPage.methods.fetchReadings = function(timeRange) {