Commit 362c9411 authored by Jose Vargas's avatar Jose Vargas

Replace underscore for lodash in ee/epic

parent 424778d6
<script> <script>
import _ from 'underscore'; import { uniqueId } from 'lodash';
import { GlLoadingIcon, GlButton } from '@gitlab/ui'; import { GlLoadingIcon, GlButton } from '@gitlab/ui';
import { __, s__ } from '~/locale'; import { __, s__ } from '~/locale';
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
fieldName: { fieldName: {
type: String, type: String,
required: false, required: false,
default: () => _.uniqueId('dateType_'), default: () => uniqueId('dateType_'),
}, },
}, },
data() { data() {
......
<script> <script>
import { mapState, mapActions } from 'vuex'; import { mapState, mapActions } from 'vuex';
import _ from 'underscore'; import { debounce } from 'lodash';
import ListLabel from '../../models/label'; import ListLabel from '../../models/label';
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
// dropdown as otherwise it causes `calc()` // dropdown as otherwise it causes `calc()`
// used in CSS to miscalculate collapsed // used in CSS to miscalculate collapsed
// sidebar size. // sidebar size.
_.debounce(() => { debounce(() => {
this.sidebarExpandedOnClick = true; this.sidebarExpandedOnClick = true;
if (contentContainer) { if (contentContainer) {
contentContainer contentContainer
......
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