summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-06-05 11:38:54 +0200
committerWinnie Hellmann <winnie@gitlab.com>2018-06-05 11:38:54 +0200
commitc8d5bd34c738f8d06cff0d800a76014dbe324822 (patch)
treeb44c59ef28f82191a5a89dbb0dcc737ca18f9ba3
parent86baae8534281453aebfcc41a3c2762439f257ef (diff)
downloadgitlab-ce-winh-changes_tab_vue_refactoring-note-rename.tar.gz
Change fetchNotes to fetchDiscussions in pollSuccessCallBackwinh-changes_tab_vue_refactoring-note-rename
-rw-r--r--app/assets/javascripts/notes/stores/actions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/stores/actions.js b/app/assets/javascripts/notes/stores/actions.js
index eabe05255e1..a9acfb0fdf1 100644
--- a/app/assets/javascripts/notes/stores/actions.js
+++ b/app/assets/javascripts/notes/stores/actions.js
@@ -215,7 +215,7 @@ const pollSuccessCallBack = (resp, commit, state, getters, dispatch) => {
if (discussion) {
commit(types.ADD_NEW_REPLY_TO_DISCUSSION, note);
} else if (note.type === constants.DIFF_NOTE) {
- dispatch('fetchNotes', state.notesData.discussionsPath);
+ dispatch('fetchDiscussions', state.notesData.discussionsPath);
} else {
commit(types.ADD_NEW_NOTE, note);
}