fix(ui): initialize timeNow so it's always set on initial render

This commit is contained in:
Łukasz Mierzwa
2018-09-08 19:43:46 +01:00
parent e526095f6e
commit 01f3c25160

View File

@@ -182,7 +182,7 @@ const DateTimeSelect = observer(
setDuration() {
this.current = TabNames.Duration;
},
timeNow: null,
timeNow: moment().seconds(0),
updateTimeNow() {
this.timeNow = moment().seconds(0);
}