diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-06-05 11:38:54 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-06-05 11:38:54 +0200 |
commit | c8d5bd34c738f8d06cff0d800a76014dbe324822 (patch) | |
tree | b44c59ef28f82191a5a89dbb0dcc737ca18f9ba3 | |
parent | 86baae8534281453aebfcc41a3c2762439f257ef (diff) | |
download | gitlab-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.js | 2 |
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); } |