Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/contributors/index.js')
-rw-r--r--app/assets/javascripts/contributors/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/contributors/index.js b/app/assets/javascripts/contributors/index.js
index f66133a074d..1bb7360547c 100644
--- a/app/assets/javascripts/contributors/index.js
+++ b/app/assets/javascripts/contributors/index.js
@@ -7,18 +7,19 @@ export default () => {
if (!el) return null;
- const { projectGraphPath, projectBranch, defaultBranch } = el.dataset;
+ const { projectGraphPath, projectBranch, defaultBranch, projectId, commitsPath } = el.dataset;
const store = createStore(defaultBranch);
return new Vue({
el,
store,
-
render(createElement) {
return createElement(ContributorsGraphs, {
props: {
endpoint: projectGraphPath,
branch: projectBranch,
+ projectId,
+ commitsPath,
},
});
},