Skip to content

Commit

Permalink
Merge pull request #1834 from home-assistant/fix-chart-tooltip
Browse files Browse the repository at this point in the history
Fix chart tooltip
  • Loading branch information
zsarnett authored Oct 22, 2018
2 parents 0fdd1c7 + b418048 commit c190f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/state-history-chart-timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class StateHistoryChartTimeline extends LocalizeMixin(PolymerElement) {
labels.push(entityDisplay);
});

const formatTooltipLabel = function(item, data) {
const formatTooltipLabel = (item, data) => {
const values = data.datasets[item.datasetIndex].data[item.index];

const start = formatDateTime(values[0], this.hass.language);
Expand Down

0 comments on commit c190f19

Please sign in to comment.