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
30f91127
Commit
30f91127
authored
Mar 02, 2021
by
Fernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase vuln modal size
* Set size prop to lg
parent
fe676e7b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
ee/app/assets/javascripts/vue_shared/security_reports/components/modal.vue
...ascripts/vue_shared/security_reports/components/modal.vue
+1
-0
ee/spec/frontend/vue_shared/security_reports/components/modal_spec.js
...tend/vue_shared/security_reports/components/modal_spec.js
+7
-0
No files found.
ee/app/assets/javascripts/vue_shared/security_reports/components/modal.vue
View file @
30f91127
...
@@ -196,6 +196,7 @@ export default {
...
@@ -196,6 +196,7 @@ export default {
ref=
"modal"
ref=
"modal"
:modal-id=
"$options.VULNERABILITY_MODAL_ID"
:modal-id=
"$options.VULNERABILITY_MODAL_ID"
:title=
"modal.title"
:title=
"modal.title"
size=
"lg"
data-qa-selector=
"vulnerability_modal_content"
data-qa-selector=
"vulnerability_modal_content"
class=
"modal-security-report-dast"
class=
"modal-security-report-dast"
v-bind=
"$attrs"
v-bind=
"$attrs"
...
...
ee/spec/frontend/vue_shared/security_reports/components/modal_spec.js
View file @
30f91127
...
@@ -27,6 +27,13 @@ describe('Security Reports modal', () => {
...
@@ -27,6 +27,13 @@ describe('Security Reports modal', () => {
modal
=
wrapper
.
find
(
GlModal
);
modal
=
wrapper
.
find
(
GlModal
);
};
};
describe
(
'
modal
'
,
()
=>
{
it
(
'
renders a large modal
'
,
()
=>
{
mountComponent
({
modal
:
createState
().
modal
},
mount
);
expect
(
modal
.
props
(
'
size
'
)).
toBe
(
'
lg
'
);
});
});
describe
(
'
with permissions
'
,
()
=>
{
describe
(
'
with permissions
'
,
()
=>
{
describe
(
'
with dismissed issue
'
,
()
=>
{
describe
(
'
with dismissed issue
'
,
()
=>
{
beforeEach
(()
=>
{
beforeEach
(()
=>
{
...
...
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