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
dc1db275
Commit
dc1db275
authored
Nov 22, 2021
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated attention requested toggle icons
parent
4d7f479a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/sidebar/components/attention_requested_toggle.vue
...scripts/sidebar/components/attention_requested_toggle.vue
+1
-1
spec/frontend/sidebar/components/attention_requested_toggle_spec.js
...end/sidebar/components/attention_requested_toggle_spec.js
+2
-2
No files found.
app/assets/javascripts/sidebar/components/attention_requested_toggle.vue
View file @
dc1db275
...
...
@@ -64,7 +64,7 @@ export default {
<gl-button
:loading=
"loading"
:variant=
"user.attention_requested ? 'warning' : 'default'"
:icon=
"user.attention_requested ? '
star' : 'star-o
'"
:icon=
"user.attention_requested ? '
attention-solid' : 'attention
'"
:aria-label=
"tooltipTitle"
size=
"small"
category=
"tertiary"
...
...
spec/frontend/sidebar/components/attention_requ
ir
ed_toggle_spec.js
→
spec/frontend/sidebar/components/attention_requ
est
ed_toggle_spec.js
View file @
dc1db275
...
...
@@ -23,8 +23,8 @@ describe('Attention require toggle', () => {
it
.
each
`
attentionRequested | icon
${
true
}
|
${
'
star
'
}
${
false
}
|
${
'
star-o
'
}
${
true
}
|
${
'
attention-solid
'
}
${
false
}
|
${
'
attention
'
}
`
(
'
renders $icon icon when attention_requested is $attentionRequested
'
,
({
attentionRequested
,
icon
})
=>
{
...
...
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