Commit 6c302804 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch...

Merge branch '196657-replace-underscore-with-lodash-for-app-assets-javascripts-import_projects' into 'master'

Convert underscore to lodash

Closes #196657

See merge request gitlab-org/gitlab!25563
parents 195da37f 07249432
<script> <script>
import _ from 'underscore'; import { throttle } from 'lodash';
import { mapActions, mapState, mapGetters } from 'vuex'; import { mapActions, mapState, mapGetters } from 'vuex';
import { GlLoadingIcon } from '@gitlab/ui'; import { GlLoadingIcon } from '@gitlab/ui';
import LoadingButton from '~/vue_shared/components/loading_button.vue'; import LoadingButton from '~/vue_shared/components/loading_button.vue';
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
this.setFilter(target.value); this.setFilter(target.value);
}, },
throttledFetchRepos: _.throttle(function fetch() { throttledFetchRepos: throttle(function fetch() {
eventHub.$off('importAll'); eventHub.$off('importAll');
this.fetchRepos(); this.fetchRepos();
}, reposFetchThrottleDelay), }, reposFetchThrottleDelay),
......
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