Commit 6db3e960 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/attentionRequestedIcons' into 'master'

Updated attention requested toggle icons

See merge request gitlab-org/gitlab!74912
parents 08d19d59 dc1db275
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
<gl-button <gl-button
:loading="loading" :loading="loading"
:variant="user.attention_requested ? 'warning' : 'default'" :variant="user.attention_requested ? 'warning' : 'default'"
:icon="user.attention_requested ? 'star' : 'star-o'" :icon="user.attention_requested ? 'attention-solid' : 'attention'"
:aria-label="tooltipTitle" :aria-label="tooltipTitle"
size="small" size="small"
category="tertiary" category="tertiary"
......
...@@ -23,8 +23,8 @@ describe('Attention require toggle', () => { ...@@ -23,8 +23,8 @@ describe('Attention require toggle', () => {
it.each` it.each`
attentionRequested | icon attentionRequested | icon
${true} | ${'star'} ${true} | ${'attention-solid'}
${false} | ${'star-o'} ${false} | ${'attention'}
`( `(
'renders $icon icon when attention_requested is $attentionRequested', 'renders $icon icon when attention_requested is $attentionRequested',
({ attentionRequested, icon }) => { ({ attentionRequested, icon }) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment