Commit 70fce78e authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'lm-replace-underscore-environments' into 'master'

Replaces underscore with lodash `ee/app/assets/javascripts/environments`

See merge request gitlab-org/gitlab!28292
parents f939a0ef bbd3c338
......@@ -9,7 +9,7 @@
* - Button Actions.
* [Mockup](https://gitlab.com/gitlab-org/gitlab-foss/uploads/2f655655c0eadf655d0ae7467b53002a/environments__deploy-graphic.png)
*/
import _ from 'underscore';
import { isEmpty } from 'lodash';
import { GlLoadingIcon, GlLink, GlTooltipDirective } from '@gitlab/ui';
import deployBoardSvg from 'ee_empty_states/icons/_deploy_board.svg';
import { n__, s__, sprintf } from '~/locale';
......@@ -55,7 +55,7 @@ export default {
},
computed: {
canRenderDeployBoard() {
return !this.isEmpty && !_.isEmpty(this.deployBoardData);
return !this.isEmpty && !isEmpty(this.deployBoardData);
},
legacyLabelWarningMessage() {
return sprintf(
......
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