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
eb2180d6
Commit
eb2180d6
authored
Nov 17, 2020
by
Kyle Wiebers
Committed by
Kushal Pandya
Nov 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add qa-selector to issue header
parent
e7650bc4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
app/assets/javascripts/issue_show/components/header_actions.vue
...sets/javascripts/issue_show/components/header_actions.vue
+4
-0
No files found.
app/assets/javascripts/issue_show/components/header_actions.vue
View file @
eb2180d6
...
...
@@ -87,6 +87,9 @@ export default {
?
sprintf
(
__
(
'
Reopen %{issueType}
'
),
{
issueType
:
this
.
issueType
})
:
sprintf
(
__
(
'
Close %{issueType}
'
),
{
issueType
:
this
.
issueType
});
},
qaSelector
()
{
return
this
.
isClosed
?
'
reopen_issue_button
'
:
'
close_issue_button
'
;
},
buttonVariant
()
{
return
this
.
isClosed
?
'
default
'
:
'
warning
'
;
},
...
...
@@ -216,6 +219,7 @@ export default {
v-if=
"showToggleIssueStateButton"
class=
"gl-display-none gl-display-sm-inline-flex!"
category=
"secondary"
:data-qa-selector=
"qaSelector"
:loading=
"isUpdatingState"
:variant=
"buttonVariant"
@
click=
"toggleIssueState"
...
...
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