diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-07-22 03:17:21 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-07-22 03:17:21 +0300 |
commit | 33c20468cc2456c03431a1e32d84cd1fb31ea3c5 (patch) | |
tree | 4c943d4d2d08a1b7cb3c605a26a180ab66e981f9 /app/assets/javascripts/notes/stores | |
parent | 99b82a0716b53b6edf5057fa05736f6c5d00a5b8 (diff) | |
download | gitlab-ce-33c20468cc2456c03431a1e32d84cd1fb31ea3c5.tar.gz |
IssueNotesRefactor: Check existence of command changes for time tracking.
Diffstat (limited to 'app/assets/javascripts/notes/stores')
-rw-r--r-- | app/assets/javascripts/notes/stores/issue_notes_store.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/stores/issue_notes_store.js b/app/assets/javascripts/notes/stores/issue_notes_store.js index fb89b1743d1..abe5edee03b 100644 --- a/app/assets/javascripts/notes/stores/issue_notes_store.js +++ b/app/assets/javascripts/notes/stores/issue_notes_store.js @@ -248,7 +248,7 @@ const actions = { }); } - if (commandsChanges.spend_time || commandsChanges.time_estimate) { + if (commandsChanges.spend_time != null || commandsChanges.time_estimate != null) { sidebarTimeTrackingEventHub.$emit('timeTrackingUpdated', res); } } |