diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-07-03 02:11:13 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-07-03 02:11:13 +0300 |
commit | c2429ed55349ea7cbf6a054eefe0ad174fbcd085 (patch) | |
tree | b9a86bc078aef21cd7f35470d5bdd406d89618e5 /app/assets/javascripts/diffs/store/actions.js | |
parent | a0c98f70708a2bb1d867cbac6310cd60307fee04 (diff) |
Fix typo in updateResolvableDiscussionsCounts action
Diffstat (limited to 'app/assets/javascripts/diffs/store/actions.js')
-rw-r--r-- | app/assets/javascripts/diffs/store/actions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/diffs/store/actions.js b/app/assets/javascripts/diffs/store/actions.js index 88d7b4bba63..79ce49012f0 100644 --- a/app/assets/javascripts/diffs/store/actions.js +++ b/app/assets/javascripts/diffs/store/actions.js @@ -267,7 +267,7 @@ export const saveDiffDiscussion = ({ state, dispatch }, { note, formData }) => { return dispatch('saveNote', postData, { root: true }) .then(result => dispatch('updateDiscussion', result.discussion, { root: true })) .then(discussion => dispatch('assignDiscussionsToDiff', [discussion])) - .then(() => dispatch('updateResolvableDiscussonsCounts', null, { root: true })) + .then(() => dispatch('updateResolvableDiscussionsCounts', null, { root: true })) .then(() => dispatch('closeDiffFileCommentForm', formData.diffFile.file_hash)) .catch(() => createFlash(s__('MergeRequests|Saving the comment failed'))); }; |