Commit 347175fc authored by Dhiraj Bodicherla's avatar Dhiraj Bodicherla

Using lodash in WAF components

parent 7a25206a
<script>
import _ from 'underscore';
import { isFunction } from 'lodash';
import dateFormat from 'dateformat';
import { GlResizeObserverDirective } from '@gitlab/ui';
import { GlAreaChart } from '@gitlab/ui/dist/charts';
......@@ -88,7 +88,7 @@ export default {
this.chartInstance = chartInstance;
},
onResize() {
if (_.isFunction(this.chartInstance?.resize)) {
if (isFunction(this.chartInstance?.resize)) {
this.chartInstance.resize();
}
},
......
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