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
a6ca252f
Commit
a6ca252f
authored
Mar 03, 2020
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename isLoading to isLoadingVulnerability
parent
91d59c17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/app/assets/javascripts/vulnerabilities/components/app.vue
ee/app/assets/javascripts/vulnerabilities/components/app.vue
+4
-4
No files found.
ee/app/assets/javascripts/vulnerabilities/components/app.vue
View file @
a6ca252f
...
@@ -30,13 +30,13 @@ export default {
...
@@ -30,13 +30,13 @@ export default {
},
},
data
:
()
=>
({
data
:
()
=>
({
isLoading
:
false
,
isLoading
Vulnerability
:
false
,
isCreatingIssue
:
false
,
isCreatingIssue
:
false
,
}),
}),
methods
:
{
methods
:
{
onVulnerabilityStateChange
(
newState
)
{
onVulnerabilityStateChange
(
newState
)
{
this
.
isLoading
=
true
;
this
.
isLoading
Vulnerability
=
true
;
axios
axios
.
post
(
`/api/v4/vulnerabilities/
${
this
.
vulnerability
.
id
}
/
${
newState
}
`
)
.
post
(
`/api/v4/vulnerabilities/
${
this
.
vulnerability
.
id
}
/
${
newState
}
`
)
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
);
);
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
isLoading
=
false
;
this
.
isLoading
Vulnerability
=
false
;
});
});
},
},
createIssue
()
{
createIssue
()
{
...
@@ -80,7 +80,7 @@ export default {
...
@@ -80,7 +80,7 @@ export default {
<
template
>
<
template
>
<div>
<div>
<gl-loading-icon
v-if=
"isLoading"
/>
<gl-loading-icon
v-if=
"isLoading
Vulnerability
"
/>
<vulnerability-state-dropdown
<vulnerability-state-dropdown
v-else
v-else
:state=
"vulnerability.state"
:state=
"vulnerability.state"
...
...
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