mirror of
https://github.com/beestat/app.git
synced 2025-05-31 04:06:32 -04:00
Fixed #123 - Aggregate runtime settings can get into an invalid state
I forgot to update the state in one place.
This commit is contained in:
parent
b22793c088
commit
729022e85a
@ -80,6 +80,7 @@ beestat.component.modal.aggregate_runtime_custom.prototype.decorate_contents_ =
|
|||||||
time_count
|
time_count
|
||||||
.set_value(self.state_.aggregate_runtime_time_count || '1')
|
.set_value(self.state_.aggregate_runtime_time_count || '1')
|
||||||
.enable();
|
.enable();
|
||||||
|
time_count.dispatchEvent('blur');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -176,9 +177,9 @@ beestat.component.modal.aggregate_runtime_custom.prototype.get_buttons_ = functi
|
|||||||
beestat.setting(
|
beestat.setting(
|
||||||
{
|
{
|
||||||
'aggregate_runtime_time_count':
|
'aggregate_runtime_time_count':
|
||||||
self.state_.aggregate_runtime_time_period === 'all' ?
|
self.state_.aggregate_runtime_time_period === 'all'
|
||||||
0 :
|
? 0
|
||||||
self.state_.aggregate_runtime_time_count,
|
: self.state_.aggregate_runtime_time_count,
|
||||||
'aggregate_runtime_time_period':
|
'aggregate_runtime_time_period':
|
||||||
self.state_.aggregate_runtime_time_period,
|
self.state_.aggregate_runtime_time_period,
|
||||||
'aggregate_runtime_group_by':
|
'aggregate_runtime_group_by':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user