summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/stores
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-07-22 03:17:21 +0300
committerFatih Acet <acetfatih@gmail.com>2017-07-22 03:17:21 +0300
commit33c20468cc2456c03431a1e32d84cd1fb31ea3c5 (patch)
tree4c943d4d2d08a1b7cb3c605a26a180ab66e981f9 /app/assets/javascripts/notes/stores
parent99b82a0716b53b6edf5057fa05736f6c5d00a5b8 (diff)
downloadgitlab-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.js2
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);
}
}