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
771ce695
Commit
771ce695
authored
Jun 23, 2020
by
Adam Alvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prettier formatting fixes
parent
2fb7bd91
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ee/app/assets/javascripts/security_dashboard/components/empty_states/first_class_instance_security_dashboard.vue
.../empty_states/first_class_instance_security_dashboard.vue
+1
-1
ee/spec/frontend/security_dashboard/components/empty_states/first_class_instance_security_dashboard_spec.js
...ty_states/first_class_instance_security_dashboard_spec.js
+4
-3
No files found.
ee/app/assets/javascripts/security_dashboard/components/empty_states/first_class_instance_security_dashboard.vue
View file @
771ce695
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
this
.
$emit
(
'
handleAddProjectsClick
'
);
this
.
$emit
(
'
handleAddProjectsClick
'
);
},
},
},
},
}
}
;
</
script
>
</
script
>
<
template
>
<
template
>
...
...
ee/spec/frontend/security_dashboard/components/empty_states/first_class_instance_security_dashboard_spec.js
View file @
771ce695
...
@@ -7,9 +7,10 @@ describe('first class instance security dashboard empty state', () => {
...
@@ -7,9 +7,10 @@ describe('first class instance security dashboard empty state', () => {
const
dashboardDocumentation
=
'
/path/to/dashboard/documentation
'
;
const
dashboardDocumentation
=
'
/path/to/dashboard/documentation
'
;
const
svgPath
=
'
/placeholder.svg
'
;
const
svgPath
=
'
/placeholder.svg
'
;
const
createWrapper
=
()
=>
mount
(
EmptyState
,
{
const
createWrapper
=
()
=>
propsData
:
{
svgPath
,
dashboardDocumentation
},
mount
(
EmptyState
,
{
});
propsData
:
{
svgPath
,
dashboardDocumentation
},
});
const
findGlEmptyState
=
()
=>
wrapper
.
find
(
GlEmptyState
);
const
findGlEmptyState
=
()
=>
wrapper
.
find
(
GlEmptyState
);
const
findButton
=
()
=>
wrapper
.
find
(
GlButton
);
const
findButton
=
()
=>
wrapper
.
find
(
GlButton
);
const
findLink
=
()
=>
wrapper
.
find
(
GlLink
);
const
findLink
=
()
=>
wrapper
.
find
(
GlLink
);
...
...
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