mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -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() {
|
||||
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();
|
||||
} else {
|
||||
this.set_value('', false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user