Move EE differences for `app/assets/javascripts/mr_notes/stores/index.js `
The file app/assets/javascripts/mr_notes/stores/index.js has differences between CE and EE.
Diferences
diff --git a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/mr_notes/stores/index.js b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/mr_notes/stores/index.js
index c4225c8ec08..c52ad4ceb65 100644
--- a/home/yorickpeterse/Projects/gitlab/gdk-ce/gitlab/app/assets/javascripts/mr_notes/stores/index.js
+++ b/home/yorickpeterse/Projects/gitlab/gdk-ee/gitlab/app/assets/javascripts/mr_notes/stores/index.js
@@ -2,6 +2,7 @@ import Vue from 'vue';
import Vuex from 'vuex';
import notesModule from '~/notes/stores/modules';
import diffsModule from '~/diffs/store/modules';
+import batchCommentsModule from 'ee/batch_comments/stores/modules/batch_comments';
import mrPageModule from './modules';
Vue.use(Vuex);
@@ -12,6 +13,7 @@ export const createStore = () =>
page: mrPageModule,
notes: notesModule(),
diffs: diffsModule(),
+ batchComments: batchCommentsModule(),
},
});
What needs to be done
- Create a module that stubs
batchCommentsModulein CE - all actions that are used in components and getters must exist in the CE counterpart. - Use
ee_else_ceto import the module