Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bbd3c338
Commit
bbd3c338
authored
Mar 29, 2020
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces underscore with lodash isEmpty
parent
c2cb1834
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/assets/javascripts/environments/components/deploy_board_component.vue
...cripts/environments/components/deploy_board_component.vue
+2
-2
No files found.
ee/app/assets/javascripts/environments/components/deploy_board_component.vue
View file @
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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment