mirror of
https://github.com/beestat/app.git
synced 2025-05-31 12:16:39 -04:00
Fixed #377 - Cannot clear Temperature Profiles > Custom Start Date
This commit is contained in:
parent
6e67e83a7b
commit
c516a93d3a
@ -254,7 +254,10 @@ beestat.component.card.settings.prototype.decorate_contents_ = function(parent)
|
|||||||
|
|
||||||
temperature_profiles_range_begin.addEventListener('change', function() {
|
temperature_profiles_range_begin.addEventListener('change', function() {
|
||||||
var temperature_profiles_range_begin_value;
|
var temperature_profiles_range_begin_value;
|
||||||
if (temperature_profiles_range_begin.meets_requirements() === true) {
|
if (
|
||||||
|
temperature_profiles_range_begin.meets_requirements() === true &&
|
||||||
|
this.get_value() !== undefined
|
||||||
|
) {
|
||||||
temperature_profiles_range_begin_value = this.get_value();
|
temperature_profiles_range_begin_value = this.get_value();
|
||||||
} else {
|
} else {
|
||||||
this.set_value('', false);
|
this.set_value('', false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user