Commit b7f09891 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'jivanvl-replace-underscore-lodash-ee-epic' into 'master'

Replace underscore for lodash in ee/epic

Closes #210263

See merge request gitlab-org/gitlab!27823
parents 1109a128 362c9411
<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