diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-27 15:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-27 15:09:11 +0300 |
commit | bbd945a9eaeaf8ff084fcd5f697902fe9f67ccdb (patch) | |
tree | 13b9560127c27ab667f2d365ee8f19f6887de4d0 /app/assets/javascripts/mr_notes | |
parent | 1f84ff323d6928b7be627484fdc88d5aa651f0f4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/mr_notes')
-rw-r--r-- | app/assets/javascripts/mr_notes/stores/index.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/assets/javascripts/mr_notes/stores/index.js b/app/assets/javascripts/mr_notes/stores/index.js index 4a0602ad512..7527c685c71 100644 --- a/app/assets/javascripts/mr_notes/stores/index.js +++ b/app/assets/javascripts/mr_notes/stores/index.js @@ -7,14 +7,16 @@ import mrPageModule from './modules'; Vue.use(Vuex); +export const createModules = () => ({ + page: mrPageModule(), + notes: notesModule(), + diffs: diffsModule(), + batchComments: batchCommentsModule(), +}); + export const createStore = () => new Vuex.Store({ - modules: { - page: mrPageModule(), - notes: notesModule(), - diffs: diffsModule(), - batchComments: batchCommentsModule(), - }, + modules: createModules(), }); export default createStore(); |