Commit f8585f97 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '210268-replace-underscore-with-lodash-for-ee-app-assets-javascripts-threat_monitoring' into 'master'

Replace underscore with lodash for threat_monitoring components

Closes #210268

See merge request gitlab-org/gitlab!27175
parents 0e80c57c 347175fc
<script> <script>
import _ from 'underscore'; import { isFunction } from 'lodash';
import dateFormat from 'dateformat'; import dateFormat from 'dateformat';
import { GlResizeObserverDirective } from '@gitlab/ui'; import { GlResizeObserverDirective } from '@gitlab/ui';
import { GlAreaChart } from '@gitlab/ui/dist/charts'; import { GlAreaChart } from '@gitlab/ui/dist/charts';
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
this.chartInstance = chartInstance; this.chartInstance = chartInstance;
}, },
onResize() { onResize() {
if (_.isFunction(this.chartInstance?.resize)) { if (isFunction(this.chartInstance?.resize)) {
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