diff --git a/js/component/modal/temperature_profiles_info.js b/js/component/modal/temperature_profiles_info.js index a6e8b1a..892a010 100644 --- a/js/component/modal/temperature_profiles_info.js +++ b/js/component/modal/temperature_profiles_info.js @@ -42,8 +42,7 @@ beestat.component.modal.temperature_profiles_info.prototype.decorate_contents_ = }); } - profile.deltas = deltas_converted; - const linear_trendline = beestat.math.get_linear_trendline(profile.deltas); + const linear_trendline = beestat.math.get_linear_trendline(deltas_converted); fields.push({ 'name': beestat.series['indoor_' + type + '_delta'].name,