diff options
author | Phil Hughes <me@iamphill.com> | 2019-07-01 11:40:29 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-07-01 11:40:29 +0100 |
commit | 12413158fddf093e9b2cc8d00d66f8c6833a260c (patch) | |
tree | 43145fa434253b12c382812e0477a55155a3346c /app/assets/javascripts/pages/projects/branches | |
parent | 8775e4a1faf13a01451e71ea9ef729dc52e6d3c1 (diff) | |
download | gitlab-ce-12413158fddf093e9b2cc8d00d66f8c6833a260c.tar.gz |
Fetch branch diverging counts from API
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/46139
Diffstat (limited to 'app/assets/javascripts/pages/projects/branches')
-rw-r--r-- | app/assets/javascripts/pages/projects/branches/index/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/projects/branches/index/index.js b/app/assets/javascripts/pages/projects/branches/index/index.js index 29de3b7806c..37e8c75f299 100644 --- a/app/assets/javascripts/pages/projects/branches/index/index.js +++ b/app/assets/javascripts/pages/projects/branches/index/index.js @@ -5,5 +5,5 @@ import initDiverganceGraph from '~/branches/divergence_graph'; document.addEventListener('DOMContentLoaded', () => { AjaxLoadingSpinner.init(); new DeleteModal(); // eslint-disable-line no-new - initDiverganceGraph(); + initDiverganceGraph(document.querySelector('.js-branch-list').dataset.divergingCountsEndpoint); }); |