Commit 1a4d072b authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'mw-remove-underscore-from-repo-chart' into 'master'

Replace underscore _.values with Object.values

See merge request gitlab-org/gitlab!24558
parents acf7fd1b d0b9f2df
import $ from 'jquery';
import Chart from 'chart.js';
import _ from 'underscore';
import { barChartOptions, pieChartOptions } from '~/lib/utils/chart_utils';
document.addEventListener('DOMContentLoaded', () => {
......@@ -40,7 +38,7 @@ document.addEventListener('DOMContentLoaded', () => {
backgroundColor: 'rgba(220,220,220,0.5)',
borderColor: 'rgba(220,220,220,1)',
borderWidth: 1,
data: _.values(data),
data: Object.values(data),
},
],
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment